BluetoothPairingRequest.fromMap constructor
BluetoothPairingRequest.fromMap(
- Map map
Creates BluetoothPairingRequest
from map.
Internally used to receive the object from platform code.
Implementation
factory BluetoothPairingRequest.fromMap(Map map) {
return BluetoothPairingRequest(
address: map['address'],
pairingVariant: PairingVariant.fromUnderlyingValue(map['variant']),
passkey: map['passkey'],
);
}