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