onSuccess abstract method Null safety

PinChange onSuccess(
  1. Function onSuccess
)

Specifies the object that will be invoked if the PIN was successfully modified.

IMPORTANT
Providing the onSuccess is required.

Params:

  • onSuccess: the Function which will be invoked on successful PIN modification.

Returns: a PinChange object.

Implementation

PinChange onSuccess(Function onSuccess);