BlockUser$Mutation$BlockUser.fromJson constructor

BlockUser$Mutation$BlockUser.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BlockUser$Mutation$BlockUser.fromJson(Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'BlocklistEventsVersioned':
      return BlockUser$Mutation$BlockUser$BlocklistEventsVersioned.fromJson(
          json);
    case r'BlockUserError':
      return BlockUser$Mutation$BlockUser$BlockUserError.fromJson(json);
    default:
  }
  return _$BlockUser$Mutation$BlockUserFromJson(json);
}