toJson method

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

Implementation

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