setSimulatedCentralState method
Set the state of the simulated central.
state
State of the simulated central.
Implementation
Future<void> setSimulatedCentralState(CentralState state) async {
await _client.send('BluetoothEmulation.setSimulatedCentralState', {
'state': state,
});
}