ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node.fromJson constructor
ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node.fromJson( - Map<String, dynamic> json
)
Implementation
factory ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'ChatInfo':
return ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node$ChatInfo
.fromJson(json);
case r'ChatCall':
return ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node$ChatCall
.fromJson(json);
case r'ChatMessage':
return ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node$ChatMessage
.fromJson(json);
case r'ChatForward':
return ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$Node$ChatForward
.fromJson(json);
default:
}
return _$ChatEventsVersionedMixin$Events$EventChatLastItemUpdated$LastItem$NodeFromJson(
json);
}