GetAttachments$Query$ChatItem$Node$ChatForward$Quote.fromJson constructor

GetAttachments$Query$ChatItem$Node$ChatForward$Quote.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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