toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createdAt != null) 'createdAt': createdAt!,
  if (customAttributes != null) 'customAttributes': customAttributes!,
  if (customAuth != null) 'customAuth': customAuth!,
  if (disabled != null) 'disabled': disabled!,
  if (displayName != null) 'displayName': displayName!,
  if (email != null) 'email': email!,
  if (emailVerified != null) 'emailVerified': emailVerified!,
  if (lastLoginAt != null) 'lastLoginAt': lastLoginAt!,
  if (localId != null) 'localId': localId!,
  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 (validSince != null) 'validSince': validSince!,
  if (version != null) 'version': version!,
};