onError abstract method
- dynamic onError( )
Specifies the object that will be invoked if the dispatch device information change failed.
IMPORTANT
Providing the onError is required.
Params:
- onError: the Function which receives a DeviceInformationChangeError.
Returns: a DeviceInformationChange object.
Implementation
DeviceInformationChange onError(
Function(DeviceInformationChangeError) onError,
);