unregister method

Future<void> unregister()

Unregisters the application from FCM. returns A function called after the unregistration completes. Unregistration was successful if runtime.lastError is not set.

Implementation

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