PasswordChangeRecoverableError class abstract
The recoverable error that can occur when changing a password.
When this error occurs, the PasswordChanger.changePassword method will be invoked again. This error will be returned by the PasswordChangeContext.lastRecoverableError.
- Inheritance
-
- Object
- MobileAuthenticationClientError
- RecoverableError
- PasswordChangeRecoverableError
- Implementers
Constructors
-
PasswordChangeRecoverableError.customValidationError(Map<
String, dynamic> json) -
Alternate constructor to create a PasswordChangeRecoverableCustomValidationError.
factory
-
PasswordChangeRecoverableError.fromJson(Map<
String, dynamic> json) -
Alternate constructor to create a PasswordChangeRecoverableError from json.
factory
-
PasswordChangeRecoverableError.invalidPassword(Map<
String, dynamic> json) -
Alternate constructor to create a PasswordChangeRecoverableInvalidPassword.
factory
-
PasswordChangeRecoverableError.oldPasswordEqualsNewPassword(Map<
String, dynamic> json) -
Alternate constructor to create a PasswordChangeRecoverableOldPasswordEqualsNewPassword.
factory
Properties
- cause → String?
-
The exception (if any) that caused this error.
no setterinherited
- description → String
-
Provides details about the error that occurred.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromJson(
Map< String, dynamic> json) → dynamic -
Returns a value of the type you specify, deserialized from a JSON object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON-encoded representation of the value you supply.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited