setSimulatedCentralState method

Future<void> setSimulatedCentralState(
  1. CentralState state
)

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,
  });
}