replace method

void replace(
  1. K key,
  2. V value
)
inherited

Replaces the key with a single value.

Implementation

void replace(K key, V value) => lookupValues(key)
  ..polymorphicClear()
  ..polymorphicAdd(value);