UnblockUser$Mutation$UnblockUser.fromJson constructor

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

Implementation

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