UpdateChatAvatar$Mutation$UpdateChatAvatar.fromJson constructor
UpdateChatAvatar$Mutation$UpdateChatAvatar.fromJson( - Map<String, dynamic> json
)
Implementation
factory UpdateChatAvatar$Mutation$UpdateChatAvatar.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'ChatEventsVersioned':
return UpdateChatAvatar$Mutation$UpdateChatAvatar$ChatEventsVersioned
.fromJson(json);
case r'UpdateChatAvatarError':
return UpdateChatAvatar$Mutation$UpdateChatAvatar$UpdateChatAvatarError
.fromJson(json);
default:
}
return _$UpdateChatAvatar$Mutation$UpdateChatAvatarFromJson(json);
}