ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$Changed.fromJson constructor
ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$Changed.fromJson( - Map<String, dynamic> json
)
Implementation
factory ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$Changed.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'ImageAttachment':
return ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$Changed$ImageAttachment
.fromJson(json);
case r'FileAttachment':
return ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$Changed$FileAttachment
.fromJson(json);
default:
}
return _$ChatEventsVersionedMixin$Events$EventChatItemEdited$Attachments$ChangedFromJson(
json);
}