bytes property
Uint8List
get
bytes
Implementation
Uint8List get bytes {
return ByteUtils.intToBytes(value, 3, endianness: Endianness.Little);
}
set
bytes
(Uint8List bytes)
Implementation
set bytes(Uint8List bytes) {
if (bytes.length != 3) {
throw ArgumentError.value(
bytes.length, "Bytes length of Class of Device must be 3");
}
value = ByteUtils.bytesToInt(bytes, endianness: Endianness.Little);
}