DeviceScanned.fromDevice constructor
- BluetoothDevice device
Implementation
factory DeviceScanned.fromDevice(BluetoothDevice device) {
return DeviceScanned(
device: device,
timestamp: DateTime.now(),
);
}
factory DeviceScanned.fromDevice(BluetoothDevice device) {
return DeviceScanned(
device: device,
timestamp: DateTime.now(),
);
}