value property

ByteData? get value

Implementation

ByteData? get value {
  if (!_JSUtil.hasProperty(_jsObject, "value")) {
    return null;
  }
  final data = _JSUtil.getProperty(_jsObject, "value");
  if (data == null) {
    return null;
  }
  return WebBluetoothConverters.convertJSDataViewToByteData(data);
}