bytes property
Gets the original raw binary data (plaintext) before encoding.
Implementation
@override
Uint8List? get bytes {
Uint8List? bin = binary;
if (bin == null) {
String base64 = string;
bin = Base64.decode(base64);
binary = bin;
assert(bin != null, 'failed to decode base64 string: $base64');
}
return bin;
}