toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'EventUserAvatarDeleted':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserAvatarDeleted)
          .toJson();
    case r'EventUserAvatarUpdated':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserAvatarUpdated)
          .toJson();
    case r'EventUserBioDeleted':
      return (this as MyUserEventsVersionedMixin$Events$EventUserBioDeleted)
          .toJson();
    case r'EventUserBioUpdated':
      return (this as MyUserEventsVersionedMixin$Events$EventUserBioUpdated)
          .toJson();
    case r'EventUserCallCoverDeleted':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserCallCoverDeleted)
          .toJson();
    case r'EventUserCallCoverUpdated':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserCallCoverUpdated)
          .toJson();
    case r'EventUserDeleted':
      return (this as MyUserEventsVersionedMixin$Events$EventUserDeleted)
          .toJson();
    case r'EventUserDirectLinkDeleted':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserDirectLinkDeleted)
          .toJson();
    case r'EventUserDirectLinkUpdated':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserDirectLinkUpdated)
          .toJson();
    case r'EventUserEmailAdded':
      return (this as MyUserEventsVersionedMixin$Events$EventUserEmailAdded)
          .toJson();
    case r'EventUserEmailDeleted':
      return (this as MyUserEventsVersionedMixin$Events$EventUserEmailDeleted)
          .toJson();
    case r'EventUserLoginDeleted':
      return (this as MyUserEventsVersionedMixin$Events$EventUserLoginDeleted)
          .toJson();
    case r'EventUserLoginUpdated':
      return (this as MyUserEventsVersionedMixin$Events$EventUserLoginUpdated)
          .toJson();
    case r'EventUserMuted':
      return (this as MyUserEventsVersionedMixin$Events$EventUserMuted)
          .toJson();
    case r'EventUserNameDeleted':
      return (this as MyUserEventsVersionedMixin$Events$EventUserNameDeleted)
          .toJson();
    case r'EventUserNameUpdated':
      return (this as MyUserEventsVersionedMixin$Events$EventUserNameUpdated)
          .toJson();
    case r'EventUserCameOnline':
      return (this as MyUserEventsVersionedMixin$Events$EventUserCameOnline)
          .toJson();
    case r'EventUserCameOffline':
      return (this as MyUserEventsVersionedMixin$Events$EventUserCameOffline)
          .toJson();
    case r'EventUserPasswordUpdated':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserPasswordUpdated)
          .toJson();
    case r'EventUserPhoneAdded':
      return (this as MyUserEventsVersionedMixin$Events$EventUserPhoneAdded)
          .toJson();
    case r'EventUserPhoneDeleted':
      return (this as MyUserEventsVersionedMixin$Events$EventUserPhoneDeleted)
          .toJson();
    case r'EventUserPresenceUpdated':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserPresenceUpdated)
          .toJson();
    case r'EventUserStatusDeleted':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserStatusDeleted)
          .toJson();
    case r'EventUserStatusUpdated':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserStatusUpdated)
          .toJson();
    case r'EventUserUnmuted':
      return (this as MyUserEventsVersionedMixin$Events$EventUserUnmuted)
          .toJson();
    case r'EventUserUnreadChatsCountUpdated':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserUnreadChatsCountUpdated)
          .toJson();
    case r'EventUserWelcomeMessageDeleted':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserWelcomeMessageDeleted)
          .toJson();
    case r'EventUserWelcomeMessageUpdated':
      return (this
              as MyUserEventsVersionedMixin$Events$EventUserWelcomeMessageUpdated)
          .toJson();
    default:
  }
  return _$MyUserEventsVersionedMixin$EventsToJson(this);
}