onError abstract method

DeviceInformationChange onError(
  1. dynamic onError(
    1. DeviceInformationChangeError
    )
)

Specifies the object that will be invoked if the dispatch device information change failed.

IMPORTANT
Providing the onError is required.

Params:

Returns: a DeviceInformationChange object.

Implementation

DeviceInformationChange onError(
  Function(DeviceInformationChangeError) onError,
);