get abstract method

Future<CacheItem?> get(
  1. String key
)

Retrieves the CacheItem associated with the given key.

Returns null if no value is found for the given key.

Throws a CacheException if there is an error retrieving the data.

Implementation

Future<CacheItem<dynamic>?> get(String key);