PinChangeError class Null safety

The error returned when the PIN change failed.

Inheritance
Implementers

Constructors

PinChangeError.deviceProtectionError(Map<String, dynamic> json)
An error that indicates that some form of tampering was found in the application.
factory
PinChangeError.fromJson(Map<String, dynamic> json)
Alternate constructor to create a PinChangeError from json.
factory
PinChangeError.noDeviceLockError(Map<String, dynamic> json)
An error that indicates that the device has no secure lock screen.
factory
PinChangeError.pinLocked(Map<String, dynamic> json)
An error that indicates that the PIN was locked because of too many failures.
factory
PinChangeError.pinNotEnrolled(Map<String, dynamic> json)
An error that indicates that the specified user during a PIN change operation does not have an enrolled PIN.
factory
PinChangeError.unknown(Map<String, dynamic> json)
Unknown PIN change error, handling not categorized error cases.
factory
PinChangeError.userCanceled(Map<String, dynamic> json)
An error that indicates that the PIN change was canceled.
factory

Properties

cause → String?
The exception (if any) that caused this error.
read-onlyinherited
description → String
Provides details about the error that occurred.
read-onlyinherited
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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