PasswordResetRequest class
Meta-Class for multiple API-Endpoints
- Implementers
- Annotations
-
- @freezed
Constructors
- PasswordResetRequest.confirm({required String oobCode, required String newPassword})
-
https://firebase.google.com/docs/reference/rest/auth#section-confirm-reset-password
constfactory
-
PasswordResetRequest.fromJson(Map<
String, dynamic> json) -
JSON constructor
factory
- PasswordResetRequest.verify({required String oobCode})
-
https://firebase.google.com/docs/reference/rest/auth#section-verify-password-reset-code
constfactory
Properties
-
copyWith
→ $PasswordResetRequestCopyWith<
PasswordResetRequest> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- oobCode → String
-
The email action code sent to the user's email for resetting the
password.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult verify(VerifyPasswordResetRequest value), required TResult confirm(ConfirmPasswordResetRequest value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? verify(VerifyPasswordResetRequest value)?, TResult? confirm(ConfirmPasswordResetRequest value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult verify(VerifyPasswordResetRequest value)?, TResult confirm(ConfirmPasswordResetRequest value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult verify(String oobCode)?, TResult confirm(String oobCode, String newPassword)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult verify(String oobCode), required TResult confirm(String oobCode, String newPassword)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? verify(String oobCode)?, TResult? confirm(String oobCode, String newPassword)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited