toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (displayName != null) 'displayName': displayName!,
  if (email != null) 'email': email!,
  if (emailVerified != null) 'emailVerified': emailVerified!,
  if (expiresIn != null) 'expiresIn': expiresIn!,
  if (idToken != null) 'idToken': idToken!,
  if (kind != null) 'kind': kind!,
  if (localId != null) 'localId': localId!,
  if (newEmail != null) 'newEmail': newEmail!,
  if (passwordHash != null) 'passwordHash': passwordHash!,
  if (photoUrl != null) 'photoUrl': photoUrl!,
  if (providerUserInfo != null) 'providerUserInfo': providerUserInfo!,
  if (refreshToken != null) 'refreshToken': refreshToken!,
};