getString abstract method

Future<CacheResponse<String?>> getString({
  1. required String key,
})
inherited

Retrieves a string value from the cache for the given key.

Returns a String? that completes with the string value associated with key if it exists, or null if the key is not found.

Implementation

Future<CacheResponse<String?>> getString({required String key});