getAutoLockDelay method
Gets the time, in seconds, it takes until the screen is locked automatically while idle. Returns a zero duration if the screen is never locked automatically. Currently supported on Chrome OS only.
Implementation
Future<int> getAutoLockDelay() async {
var $res = await promiseToFuture<int>($js.chrome.idle.getAutoLockDelay());
return $res;
}