UpdateResponse.linkEmail constructor

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

Implementation

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

  /// The email of the account.
  String? email,

  /// The display name for the account.
  String? displayName,

  /// The photo Url for the account.
  Uri? photoUrl,

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

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

  /// Whether or not the account's email has been verified.
  @Default(false) bool emailVerified,

  /// 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,
}) = LinkEmailResponse;