getRaw method
The stored value as JSON text, with no decode. Null when missing. Fast way to send a cached value as a JSON response.
String? json = await Cache().getRaw('posts');
Implementation
Future<String?> getRaw(String key) {
return repository.getRaw(key);
}