getRegistration property

Future<ServiceWorkerRegistration?> Function([Object?]) get getRegistration

Implementation

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

Implementation

set getRegistration(
    _i2.Future<_i3.ServiceWorkerRegistration?> Function([_i2.Object?])
        value) {
  _i4.setProperty(
    this,
    'getRegistration',
    _i4.allowInterop(value),
  );
}