buffer property
override
Implementation
@override
Uint8List get buffer {
if (isHex == true) {
if (value.startsWith("0x")) {
return value.substring(2).hexToBytes;
}
return value.hexToBytes;
}
if (value.startsWith("0x")) {
return value.substring(2).hexToBytes;
}
return utf8.encode(value);
}