readUint8List method
Method for getting Uint8List with a defined key.
Example:
// RCache.credentials.readUint8List(key: RCacheKey("data"));
Implementation
@override
Future<Uint8List?> readUint8List({required RCacheKey key}) async {
try {
return await methodChannel.invokeMethod(
RCacheMethod.key.read.uint8List,
rArgs(type: RCacheMethod.key.credentials, key: key),
);
} on PlatformException catch (e) {
return Future.error(e);
}
}