replace method

FutureOr<void> replace (String key, T v, [ Duration expires ])

Set the given key/value in the cache ONLY IF the key already exists.

Implementation

FutureOr<void> replace(String key, T v, [Duration expires]);