setBluetoothConfig method

Future<void> setBluetoothConfig(
  1. BluetoothConfig bluetoothConfig, {
  2. String? uuidToken,
})

Edit the Bluetooth configuration

Edits the Bluetooth configuration.

Parameters:

Implementation

Future<void> setBluetoothConfig(
  BluetoothConfig bluetoothConfig, {
  String? uuidToken,
}) async {
  final response = await setBluetoothConfigWithHttpInfo(
    bluetoothConfig,
    uuidToken: uuidToken,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}