DevicePath property

String DevicePath

Implementation

String get DevicePath {
  final charCodes = <int>[];
  for (var i = 0; i < 1; i++) {
    if (_DevicePath[i] == 0x00) break;
    charCodes.add(_DevicePath[i]);
  }
  return String.fromCharCodes(charCodes);
}
void DevicePath=(String value)

Implementation

set DevicePath(String value) {
  final stringToStore = value.padRight(1, '\x00');
  for (var i = 0; i < 1; i++) {
    _DevicePath[i] = stringToStore.codeUnitAt(i);
  }
}