toJson method

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

Implementation

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