toJson method

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

Implementation

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