put static method

Future<void> put(
  1. String key,
  2. dynamic value, {
  3. Duration? ttl,
})

Stores an item in the cache.

Implementation

static Future<void> put(String key, dynamic value, {Duration? ttl}) async {
  await _driver.put(key, value, ttl: ttl);
}