readBytes static method
Reads a UTF-8 byte list.
Implementation
static Uint8List? readBytes(String key) {
final String? raw = backend.read(key);
if (raw == null) return null;
try {
return base64Decode(raw);
} on FormatException {
return null;
}
}