put abstract method
Stores a value
in the cache with the given key
.
The value
is wrapped in a CacheItem object, which allows for optional expiry.
Throws a CacheException if there is an error storing the data.
Implementation
Future<void> put(String key, CacheItem<dynamic> value);