toJson method

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

Implementation

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