enable method

Future<void> enable(
  1. CentralState state,
  2. bool leSupported
)

Enable the BluetoothEmulation domain. state State of the simulated central. leSupported If the simulated central supports low-energy.

Implementation

Future<void> enable(CentralState state, bool leSupported) async {
  await _client.send('BluetoothEmulation.enable', {
    'state': state,
    'leSupported': leSupported,
  });
}