BluetoothConnectionState.fromMap constructor

BluetoothConnectionState.fromMap(
  1. dynamic map
)

Implementation

factory BluetoothConnectionState.fromMap(dynamic map) {
  return BluetoothConnectionState(
    isConnected: map['isConnected'],
    deviceAddress: map['deviceAddress'],
    status: map['status'],
  );
}