Bluetooth constructor

Bluetooth({
  1. DateTime? startScan,
  2. DateTime? endScan,
})

Implementation

Bluetooth({DateTime? startScan, this.endScan}) : super() {
  this.startScan = startScan ?? DateTime.now();
}