ModuleBle constructor

ModuleBle({
  1. required UUID uuid,
  2. Commands commands = const Commands(),
  3. bool scanFilter(
    1. BluetoothDevice device
    ) = Builtin.scanFilterWearEcg,
  4. void setDevice(
    1. BluetoothDevice device
    )?,
  5. bool isSimulator = false,
})

Implementation

ModuleBle({
  required UUID this.uuid,
  this.commands = const Commands(),
  this.scanFilter = Builtin.scanFilterWearEcg,
  this.setDevice,
  this.isSimulator = false,
});