getID method

Future<String> getID()

Retrieves an identifier for the app instance. The instance ID will be returned by the callback. The same ID will be returned as long as the application identity has not been revoked or expired. returns Resolves when the retrieval completes.

Implementation

Future<String> getID() async {
  var $res = await $js.chrome.instanceId.getID().toDart;
  return $res.toDart;
}