DeviceScanned.fromDevice constructor

DeviceScanned.fromDevice(
  1. BluetoothDevice device
)

Implementation

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