base64DecodedByteData method
Returns ByteData from an encoded String.
Implementation
ByteData? base64DecodedByteData() {
if (this == 'null') return null;
try {
return ByteData.view(base64Decode(substring(8, length - 12)).buffer);
} catch (e) {
return null;
}
}