setSimulatedPeripherals method

Future<void> setSimulatedPeripherals(
  1. List<FaketoothPeripheral> value
)

Sets the list of simulated peripherals.

Implementation

Future<void> setSimulatedPeripherals(List<FaketoothPeripheral> value) async {
  _simulatedPeripherals = value;
  await _channel.invokeMethod(
      'setSimulatedPeripherals', _simulatedPeripherals!.map((value) => value.toArguments()).toList());
}