setIdleOverride method
Overrides the Idle state.
isUserActive
Mock isUserActive
isScreenUnlocked
Mock isScreenUnlocked
Implementation
Future<void> setIdleOverride(bool isUserActive, bool isScreenUnlocked) async {
await _client.send('Emulation.setIdleOverride', {
'isUserActive': isUserActive,
'isScreenUnlocked': isScreenUnlocked,
});
}