PinPolicy class Null safety

The object defining the minimum and maximum length of the PIN.

Constructors

PinPolicy()

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
maxLength → int
The maximum length of the PIN.
read-only
minLength → int
The minimum length of the PIN.
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validatePinForEnrollment({required String pin, required Function onSuccess, required dynamic onError(PinEnrollmentCustomValidationError)}) → void
Performs validation other than the minimum and maximum PIN length during PIN enrollment.
validatePinForPinChange({required String pin, required Function onSuccess, required dynamic onError(PinChangeRecoverableCustomValidationError)}) → void
Performs validation other than the minimum and maximum PIN length during PIN change.

Operators

operator ==(Object other) → bool
The equality operator.
inherited