dynamic putIfAbsent(
Map map,
key,
dynamic ifAbsent()
)

Not documented.

Source

static putIfAbsent(Map map, key, ifAbsent()) {
  if (map.containsKey(key)) {
    return map[key];
  }
  final v = ifAbsent();
  map[key] = v;
  return v;
}