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