addIfNotExists method

void addIfNotExists(
  1. K key,
  2. V value
)

Implementation

void addIfNotExists(K key, V value) {
	this.putIfAbsent(key, () => value);
}