UpdateResponse.unlink constructor

const UpdateResponse.unlink({
  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,
})

Implementation

const factory UpdateResponse.unlink({
  /// 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 the 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,
}) = UnlinkResponse;