BluetoothDiscoveryResult.fromMap constructor

BluetoothDiscoveryResult.fromMap(
  1. Map map
)

Implementation

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