set method

void set(
  1. String key,
  2. dynamic value
)

Add or update an item in the cache

Implementation

void set(String key, dynamic value) {
  _cache[key] = value;
}