getBytes abstract method
Retrieves a byte array by its key.
This method fetches a byte array (Uint8List) previously stored using setBytes.
If no value exists for the given key, or the stored value is not a byte array,
this method returns null.
Parameters:
key: The unique identifier of the byte array to retrieve.
Returns a Future that completes with the stored byte array if found,
or null if the key doesn't exist or the value is not a byte array.
Throws:
- ArgumentError if the key is invalid.
Implementation
Future<Uint8List?> getBytes(String key);