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