upsert method

FutureOr<void> upsert (String key, T value, [ Duration expires ])

Set the given key/value in the cache, overwriting any existing value associated with that key

Implementation

FutureOr<void> upsert(String key, T value, [Duration expires]);