UpdateRequest.password constructor

const UpdateRequest.password({
  1. required String idToken,
  2. required String password,
  3. @Default(true) bool returnSecureToken,
})

Implementation

const factory UpdateRequest.password({
  /// A Firebase Auth ID token for the user.
  required String idToken,

  /// User's new password.
  required String password,

  /// Whether or not to return an ID and refresh token.
  @Default(true) bool returnSecureToken,
}) = PasswordUpdateRequest;