lastValue property

ByteData lastValue

Get the last value retrieved from the BluetoothCharacteristic.

Will return an empty ByteData with the length of 0 if no value has been retrieved yet.

Implementation

ByteData get lastValue => _value.value ?? ByteData(0);