toJson method

Map<String, dynamic> toJson()
inherited

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createdAt != null) 'createdAt': createdAt!,
      if (customAttributes != null) 'customAttributes': customAttributes!,
      if (customAuth != null) 'customAuth': customAuth!,
      if (dateOfBirth != null) 'dateOfBirth': dateOfBirth!,
      if (disabled != null) 'disabled': disabled!,
      if (displayName != null) 'displayName': displayName!,
      if (email != null) 'email': email!,
      if (emailLinkSignin != null) 'emailLinkSignin': emailLinkSignin!,
      if (emailVerified != null) 'emailVerified': emailVerified!,
      if (initialEmail != null) 'initialEmail': initialEmail!,
      if (language != null) 'language': language!,
      if (lastLoginAt != null) 'lastLoginAt': lastLoginAt!,
      if (lastRefreshAt != null) 'lastRefreshAt': lastRefreshAt!,
      if (localId != null) 'localId': localId!,
      if (mfaInfo != null) 'mfaInfo': mfaInfo!,
      if (passwordHash != null) 'passwordHash': passwordHash!,
      if (passwordUpdatedAt != null) 'passwordUpdatedAt': passwordUpdatedAt!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (photoUrl != null) 'photoUrl': photoUrl!,
      if (providerUserInfo != null) 'providerUserInfo': providerUserInfo!,
      if (rawPassword != null) 'rawPassword': rawPassword!,
      if (salt != null) 'salt': salt!,
      if (screenName != null) 'screenName': screenName!,
      if (tenantId != null) 'tenantId': tenantId!,
      if (timeZone != null) 'timeZone': timeZone!,
      if (validSince != null) 'validSince': validSince!,
      if (version != null) 'version': version!,
    };