hasPermission method
Returns a promise that resolves to the PushPermissionStatus of the requesting webapp, which will be one of granted, denied, or default.
Implementation
@Deprecated('User permissionState() instead.')
Future<String> hasPermission() =>
promiseToFuture(_callMethod(_delegate, 'hasPermission', []));