CreateDialog$Mutation$CreateDialogChat.fromJson constructor
CreateDialog$Mutation$CreateDialogChat.fromJson( - Map<String, dynamic> json
)
Implementation
factory CreateDialog$Mutation$CreateDialogChat.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'Chat':
return CreateDialog$Mutation$CreateDialogChat$Chat.fromJson(json);
case r'CreateDialogChatError':
return CreateDialog$Mutation$CreateDialogChat$CreateDialogChatError
.fromJson(json);
default:
}
return _$CreateDialog$Mutation$CreateDialogChatFromJson(json);
}