put method

void put(
  1. String type,
  2. String name,
  3. dynamic obj
)

Put a new data into cache, if the data already exists, replace it

Implementation

void put(String type, String name, dynamic obj) {
  _cache[type + ':' + name] = obj;
}