permissionState property

Future<PermissionState> Function([PushSubscriptionOptionsInit?]) get permissionState

Implementation

_i2.Future<_i3.PermissionState> Function([_i3.PushSubscriptionOptionsInit?])
    get permissionState => ([_i3.PushSubscriptionOptionsInit? p0]) =>
        _i4.promiseToFuture(_i4.callMethod(
          _i4.getProperty(
            this,
            'permissionState',
          ),
          r'call',
          [
            this,
            p0 ?? _i6.undefined,
          ],
        ));
set permissionState (Future<PermissionState> value([PushSubscriptionOptionsInit?]))

Implementation

set permissionState(
    _i2.Future<_i3.PermissionState> Function(
            [_i3.PushSubscriptionOptionsInit?])
        value) {
  _i4.setProperty(
    this,
    'permissionState',
    _i4.allowInterop(value),
  );
}