request method
Implementation
Future<WakeLockSentinel> request(
[WakeLockType? type = WakeLockType.screen]) =>
js_util
.promiseToFuture(js_util.callMethod(this, 'request', [type?.value]));
Future<WakeLockSentinel> request(
[WakeLockType? type = WakeLockType.screen]) =>
js_util
.promiseToFuture(js_util.callMethod(this, 'request', [type?.value]));