UpdateResponse.profile constructor

const UpdateResponse.profile({
  1. required String localId,
  2. String? email,
  3. String? displayName,
  4. Uri? photoUrl,
  5. String? passwordHash,
  6. @Default(<ProviderUserInfo>[]) List<ProviderUserInfo> providerUserInfo,
  7. String? idToken,
  8. String? refreshToken,
  9. String? expiresIn,
})

Implementation

const factory UpdateResponse.profile({
  /// The uid of the current user.
  required String localId,

  /// User's email address.
  String? email,

  /// User's new display name.
  String? displayName,

  /// User's new photo url.
  Uri? photoUrl,

  /// Hash version of password.
  String? passwordHash,

  /// List of all linked [ProviderUserInfo]s.
  @Default(<ProviderUserInfo>[]) List<ProviderUserInfo> providerUserInfo,

  /// New Firebase Auth ID token for user.
  String? idToken,

  /// A Firebase Auth refresh token.
  String? refreshToken,

  /// The number of seconds in which the ID token expires.
  String? expiresIn,
}) = ProfileUpdateResponse;