toJson method

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

Implementation

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