MyUserEventsVersionedMixin$Events.fromJson constructor
MyUserEventsVersionedMixin$Events.fromJson( - Map<String, dynamic> json
)
Implementation
factory MyUserEventsVersionedMixin$Events.fromJson(
Map<String, dynamic> json) {
switch (json['__typename'].toString()) {
case r'EventUserAvatarDeleted':
return MyUserEventsVersionedMixin$Events$EventUserAvatarDeleted
.fromJson(json);
case r'EventUserAvatarUpdated':
return MyUserEventsVersionedMixin$Events$EventUserAvatarUpdated
.fromJson(json);
case r'EventUserBioDeleted':
return MyUserEventsVersionedMixin$Events$EventUserBioDeleted.fromJson(
json);
case r'EventUserBioUpdated':
return MyUserEventsVersionedMixin$Events$EventUserBioUpdated.fromJson(
json);
case r'EventUserCallCoverDeleted':
return MyUserEventsVersionedMixin$Events$EventUserCallCoverDeleted
.fromJson(json);
case r'EventUserCallCoverUpdated':
return MyUserEventsVersionedMixin$Events$EventUserCallCoverUpdated
.fromJson(json);
case r'EventUserDeleted':
return MyUserEventsVersionedMixin$Events$EventUserDeleted.fromJson(
json);
case r'EventUserDirectLinkDeleted':
return MyUserEventsVersionedMixin$Events$EventUserDirectLinkDeleted
.fromJson(json);
case r'EventUserDirectLinkUpdated':
return MyUserEventsVersionedMixin$Events$EventUserDirectLinkUpdated
.fromJson(json);
case r'EventUserEmailAdded':
return MyUserEventsVersionedMixin$Events$EventUserEmailAdded.fromJson(
json);
case r'EventUserEmailDeleted':
return MyUserEventsVersionedMixin$Events$EventUserEmailDeleted.fromJson(
json);
case r'EventUserLoginDeleted':
return MyUserEventsVersionedMixin$Events$EventUserLoginDeleted.fromJson(
json);
case r'EventUserLoginUpdated':
return MyUserEventsVersionedMixin$Events$EventUserLoginUpdated.fromJson(
json);
case r'EventUserMuted':
return MyUserEventsVersionedMixin$Events$EventUserMuted.fromJson(json);
case r'EventUserNameDeleted':
return MyUserEventsVersionedMixin$Events$EventUserNameDeleted.fromJson(
json);
case r'EventUserNameUpdated':
return MyUserEventsVersionedMixin$Events$EventUserNameUpdated.fromJson(
json);
case r'EventUserCameOnline':
return MyUserEventsVersionedMixin$Events$EventUserCameOnline.fromJson(
json);
case r'EventUserCameOffline':
return MyUserEventsVersionedMixin$Events$EventUserCameOffline.fromJson(
json);
case r'EventUserPasswordUpdated':
return MyUserEventsVersionedMixin$Events$EventUserPasswordUpdated
.fromJson(json);
case r'EventUserPhoneAdded':
return MyUserEventsVersionedMixin$Events$EventUserPhoneAdded.fromJson(
json);
case r'EventUserPhoneDeleted':
return MyUserEventsVersionedMixin$Events$EventUserPhoneDeleted.fromJson(
json);
case r'EventUserPresenceUpdated':
return MyUserEventsVersionedMixin$Events$EventUserPresenceUpdated
.fromJson(json);
case r'EventUserStatusDeleted':
return MyUserEventsVersionedMixin$Events$EventUserStatusDeleted
.fromJson(json);
case r'EventUserStatusUpdated':
return MyUserEventsVersionedMixin$Events$EventUserStatusUpdated
.fromJson(json);
case r'EventUserUnmuted':
return MyUserEventsVersionedMixin$Events$EventUserUnmuted.fromJson(
json);
case r'EventUserUnreadChatsCountUpdated':
return MyUserEventsVersionedMixin$Events$EventUserUnreadChatsCountUpdated
.fromJson(json);
case r'EventUserWelcomeMessageDeleted':
return MyUserEventsVersionedMixin$Events$EventUserWelcomeMessageDeleted
.fromJson(json);
case r'EventUserWelcomeMessageUpdated':
return MyUserEventsVersionedMixin$Events$EventUserWelcomeMessageUpdated
.fromJson(json);
default:
}
return _$MyUserEventsVersionedMixin$EventsFromJson(json);
}