retrieve method
Implementation
Future<Uint8List> retrieve(String key) async {
final res = await actor.getFunc(AssetMethod.retrieve.name)?.call([key]);
if (res != null) {
return res as Uint8List;
}
throw StateError('Request failed with the result: $res.');
}