onError abstract method
- dynamic onError( )
Specifies the object that will be invoked if the registration failed.
IMPORTANT
Providing the onError is required.
Params:
- onError: the
Function
which receives an OperationError.
Returns: a Registration object.
Implementation
Registration onError(Function(OperationError) onError);