toJson method

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

Implementation

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