BluetoothDevice constructor
BluetoothDevice({
- required String address,
- String? name,
- BluetoothDeviceType? type,
- BluetoothBondState? bondState,
- bool isConnected = false,
BluetoothDevice constructor
Implementation
BluetoothDevice({required this.address, this.name, BluetoothDeviceType? type, BluetoothBondState? bondState, this.isConnected = false}) : type = type ?? BluetoothDeviceType.unknown, bondState = bondState ?? BluetoothBondState.none;