BluetoothDiscoveryResult.fromMap constructor
BluetoothDiscoveryResult.fromMap(
- Map map
Implementation
factory BluetoothDiscoveryResult.fromMap(Map map) {
return BluetoothDiscoveryResult(
device: BluetoothDevice.fromMap(map),
rssi: map['rssi'] ?? 0,
);
}