set method

  1. @override
Future<void> set(
  1. String key,
  2. WordpressRawResponse value, {
  3. Duration? expiry,
})
override

Stores a value in the cache with the specified key.

key The unique identifier for the cache entry. value The value to be stored in the cache. expiry Optional duration after which the cache entry should expire.

Implementation

@override
Future<void> set(
  String key,
  WordpressRawResponse value, {
  Duration? expiry,
}) =>
    _store.set(key, value, expiry: expiry);