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