putIfAbsent method

String putIfAbsent (String key, String ifAbsent())

Implementation

String putIfAbsent(String key, String ifAbsent()) {
  if (!containsKey(key)) this[key] = ifAbsent();
  return this[key];
}