add method

void add(
  1. K key,
  2. V item
)

Implementation

void add(K key, V item) {
  value[key] = item;
  refresh();
}