request property

Future<WakeLockSentinel> Function([WakeLockType?]) get request

Implementation

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

Implementation

set request(
    _i2.Future<_i3.WakeLockSentinel> Function([_i3.WakeLockType?]) value) {
  _i4.setProperty(
    this,
    'request',
    _i4.allowInterop(value),
  );
}