onError abstract method
- dynamic onError( )
Specifies the object that will be invoked when the PIN could not be changed: the PIN was not enrolled, the PIN is locked or the operation was canceled.
IMPORTANT
Providing the onError is required.
Params:
- onError: the
Function
which receives a PinChangeError.
Returns: a PinChange object.
Implementation
PinChange onError(Function(PinChangeError) onError);