incrementBy method
Increments the counter of key
by amount
.
Implementation
void incrementBy(K key, int amount) => _get(key).count += amount;
Increments the counter of key
by amount
.
void incrementBy(K key, int amount) => _get(key).count += amount;