putIfAbsent method

  1. @override
V putIfAbsent(
  1. K key,
  2. V ifAbsent()
)
override

see dart core documentation

Implementation

@override
V putIfAbsent(K key, V Function() ifAbsent) {
  var r = value.putIfAbsent(key, ifAbsent);
  emit();
  return r;
}