onError abstract method
- dynamic onError( )
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:
- onError: the Function which receives a PasswordChangeError.
Returns: a PasswordChange object.
Implementation
PasswordChange onError(Function(PasswordChangeError) onError);