deleteID method

Future<void> deleteID()

Resets the app instance identifier and revokes all tokens associated with it. returns Function called when the deletion completes. The instance identifier was revoked successfully if runtime.lastError is not set.

Implementation

Future<void> deleteID() async {
  await promiseToFuture<void>($js.chrome.instanceId.deleteID());
}