value property
ByteData?
get
value
Get the last value retrieved from the WebBluetoothRemoteGATTDescriptor.
Will return null
if no value has been retrieved yet.
See:
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;
}