BluetoothPairingRequest class

Represents information about incoming pairing request

Constructors

BluetoothPairingRequest({String address, PairingVariant pairingVariant, int passkey})
Construct BluetoothPairingRequest with given values.
const
BluetoothPairingRequest.fromMap(Map map)
Creates BluetoothPairingRequest from map. Internally used to receive the object from platform code.
factory

Properties

address String
MAC address of the device or identificator for platform system (if MAC addresses are prohibited).
final
hashCode int
The hash code for this object. [...]
read-only, inherited
pairingVariant PairingVariant
Variant of the pairing methods.
final
passkey int
Passkey for confirmation.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited