BluetoothConnectionStateLocal constructor

const BluetoothConnectionStateLocal({
  1. List<BluetoothDevice> pairedDevices = const [],
  2. BluetoothDevice? connectedDevice,
  3. List<BluetoothData> receivedData = const [],
  4. bool isScanning = false,
  5. bool isConnecting = false,
  6. String? error,
})

Implementation

const BluetoothConnectionStateLocal({
  this.pairedDevices = const [],
  this.connectedDevice,
  this.receivedData = const [],
  this.isScanning = false,
  this.isConnecting = false,
  this.error,
});