onResult abstract method

DeviceInformationSync onResult(
  1. dynamic onResult(
    1. DeviceInformationSyncResult
    )
)

Specifies the object that will be invoked when the operation completes.

IMPORTANT
Providing the onResult callback is required.

Params:

  • onResult: the Function that will be invoked when the operation completes.

Returns: a DeviceInformationSync object.

Implementation

DeviceInformationSync onResult(
  Function(DeviceInformationSyncResult) onResult,
);