onError abstract method

PinChange onError(
  1. dynamic onError(
    1. PinChangeError
    )
)

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:

Returns: a PinChange object.

Implementation

PinChange onError(Function(PinChangeError) onError);