setPressureStateOverride method
Provides a given pressure state that will be processed and eventually be delivered to PressureObserver users. |source| must have been previously overridden by setPressureSourceOverrideEnabled.
Implementation
Future<void> setPressureStateOverride(
PressureSource source, PressureState state) async {
await _client.send('Emulation.setPressureStateOverride', {
'source': source,
'state': state,
});
}