toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'BlocklistEventsVersioned':
      return (this
              as UnblockUser$Mutation$UnblockUser$BlocklistEventsVersioned)
          .toJson();
    case r'UnblockUserError':
      return (this as UnblockUser$Mutation$UnblockUser$UnblockUserError)
          .toJson();
    default:
  }
  return _$UnblockUser$Mutation$UnblockUserToJson(this);
}