toJson method

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

Implementation

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