set<T> abstract method

void set<T>(
  1. String key,
  2. T data, {
  3. CacheType type = CacheType.global,
  4. Duration? ttl,
})

Implementation

void set<T>(String key, T data, {CacheType type = CacheType.global, Duration? ttl});