GetAttachments$Query$ChatItem$Node.fromJson constructor 
    
      
      GetAttachments$Query$ChatItem$Node.fromJson( - Map<String, dynamic> json
)Implementation
  factory GetAttachments$Query$ChatItem$Node.fromJson(
  Map<String, dynamic> json,
) {
  switch (json['__typename'].toString()) {
    case r'ChatMessage':
      return GetAttachments$Query$ChatItem$Node$ChatMessage.fromJson(json);
    case r'ChatForward':
      return GetAttachments$Query$ChatItem$Node$ChatForward.fromJson(json);
    default:
  }
  return _$GetAttachments$Query$ChatItem$NodeFromJson(json);
}