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