toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'ChatEventsVersioned':
      return (this as RenameChat$Mutation$RenameChat$ChatEventsVersioned)
          .toJson();
    case r'RenameChatError':
      return (this as RenameChat$Mutation$RenameChat$RenameChatError)
          .toJson();
    default:
  }
  return _$RenameChat$Mutation$RenameChatToJson(this);
}