set abstract method

Future<void> set(
  1. String key,
  2. String value,
  3. Duration ttl
)

Store value under key with the given TTL.

Implementation

Future<void> set(String key, String value, Duration ttl);