ChatCallQuoteMixin$Original$Node.fromJson constructor

ChatCallQuoteMixin$Original$Node.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ChatCallQuoteMixin$Original$Node.fromJson(Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'ChatInfo':
      return ChatCallQuoteMixin$Original$Node$ChatInfo.fromJson(json);
    case r'ChatCall':
      return ChatCallQuoteMixin$Original$Node$ChatCall.fromJson(json);
    case r'ChatMessage':
      return ChatCallQuoteMixin$Original$Node$ChatMessage.fromJson(json);
    case r'ChatForward':
      return ChatCallQuoteMixin$Original$Node$ChatForward.fromJson(json);
    default:
  }
  return _$ChatCallQuoteMixin$Original$NodeFromJson(json);
}