permissionState method
Returns a promise that resolves to the PushPermissionStatus of the requesting webapp, which will be one of granted, denied, or prompt.
Implementation
Future<String> permissionState([PushSubscriptionOptions? options]) =>
promiseToFuture(_callMethod(_delegate, 'permissionState', [options]));