ScanResultModel.fromProto constructor
ScanResultModel.fromProto(
- BmScanAdvertisement p
Implementation
ScanResultModel.fromProto(BmScanAdvertisement p)
: device = BluetoothDevice(remoteId: p.remoteId),
advertisementData = AdvertisementData.fromProto(p),
rssi = p.rssi,
timeStamp = DateTime.now();