onError abstract method

PasswordChange onError(
  1. dynamic onError(
    1. PasswordChangeError
    )
)

Specifies the object that will be invoked when the password could not be changed: the password was not enrolled, the password is locked or the operation was canceled.

IMPORTANT
Providing the onError is required.

Params:

Returns: a PasswordChange object.

Implementation

PasswordChange onError(Function(PasswordChangeError) onError);