ChatEventsVersionedMixin$Events$EventChatItemEdited$RepliesTo$Changed.fromJson constructor

ChatEventsVersionedMixin$Events$EventChatItemEdited$RepliesTo$Changed.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ChatEventsVersionedMixin$Events$EventChatItemEdited$RepliesTo$Changed.fromJson(
    Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'ChatMessageQuote':
      return ChatEventsVersionedMixin$Events$EventChatItemEdited$RepliesTo$Changed$ChatMessageQuote
          .fromJson(json);
    case r'ChatCallQuote':
      return ChatEventsVersionedMixin$Events$EventChatItemEdited$RepliesTo$Changed$ChatCallQuote
          .fromJson(json);
    case r'ChatInfoQuote':
      return ChatEventsVersionedMixin$Events$EventChatItemEdited$RepliesTo$Changed$ChatInfoQuote
          .fromJson(json);
    default:
  }
  return _$ChatEventsVersionedMixin$Events$EventChatItemEdited$RepliesTo$ChangedFromJson(
      json);
}