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