set method

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

设置临时缓存 keycache key valuecache value

Implementation

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