BluetoothDevice constructor
const
BluetoothDevice({
- String? name,
- required String address,
- BluetoothDeviceType type = BluetoothDeviceType.unknown,
- bool isConnected = false,
- BluetoothBondState bondState = BluetoothBondState.unknown,
Construct BluetoothDevice
with given values.
Implementation
const BluetoothDevice({
this.name,
required this.address,
this.type = BluetoothDeviceType.unknown,
this.isConnected = false,
this.bondState = BluetoothBondState.unknown,
});