value property

ByteData? get value

Implementation

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