toJson method
override
Implementation
@override
Map<String, dynamic> toJson() {
switch ($$typename) {
case r'UseChatDirectLinkOk':
return (this
as UseChatDirectLink$Mutation$UseChatDirectLink$UseChatDirectLinkOk)
.toJson();
case r'UseChatDirectLinkError':
return (this
as UseChatDirectLink$Mutation$UseChatDirectLink$UseChatDirectLinkError)
.toJson();
default:
}
return _$UseChatDirectLink$Mutation$UseChatDirectLinkToJson(this);
}