toJson method
override
Implementation
@override
Map<String, dynamic> toJson() {
switch ($$typename) {
case r'ChatEventsVersioned':
return (this
as CreateChatDirectLink$Mutation$CreateChatDirectLink$ChatEventsVersioned)
.toJson();
case r'CreateChatDirectLinkError':
return (this
as CreateChatDirectLink$Mutation$CreateChatDirectLink$CreateChatDirectLinkError)
.toJson();
default:
}
return _$CreateChatDirectLink$Mutation$CreateChatDirectLinkToJson(this);
}