subscribe property

Implementation

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

Implementation

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