ChatInfoMixin$Action.fromJson constructor
ChatInfoMixin$Action.fromJson( - Map<String, dynamic> json
)
Implementation
factory ChatInfoMixin$Action.fromJson(Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'ChatInfoActionAvatarUpdated':
return ChatInfoMixin$Action$ChatInfoActionAvatarUpdated.fromJson(json);
case r'ChatInfoActionCreated':
return ChatInfoMixin$Action$ChatInfoActionCreated.fromJson(json);
case r'ChatInfoActionMemberAdded':
return ChatInfoMixin$Action$ChatInfoActionMemberAdded.fromJson(json);
case r'ChatInfoActionMemberRemoved':
return ChatInfoMixin$Action$ChatInfoActionMemberRemoved.fromJson(json);
case r'ChatInfoActionNameUpdated':
return ChatInfoMixin$Action$ChatInfoActionNameUpdated.fromJson(json);
default:
}
return _$ChatInfoMixin$ActionFromJson(json);
}