BluetoothDevice constructor

const BluetoothDevice({
  1. String? name,
  2. required String address,
  3. BluetoothDeviceType type = BluetoothDeviceType.unknown,
  4. bool isConnected = false,
  5. 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,
});