toJson method

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

Implementation

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