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 (expiresIn != null) 'expiresIn': expiresIn!,
  if (idToken != null) 'idToken': idToken!,
  if (kind != null) 'kind': kind!,
  if (localId != null) 'localId': localId!,
  if (oauthAccessToken != null) 'oauthAccessToken': oauthAccessToken!,
  if (oauthAuthorizationCode != null)
    'oauthAuthorizationCode': oauthAuthorizationCode!,
  if (oauthExpireIn != null) 'oauthExpireIn': oauthExpireIn!,
  if (photoUrl != null) 'photoUrl': photoUrl!,
  if (refreshToken != null) 'refreshToken': refreshToken!,
  if (registered != null) 'registered': registered!,
};