MapX<K, V> extension

on

Methods

getOrCompute<T>(K key, T computation()) → T?

Available on Map<K, V>?, provided by the MapX extension

getOrDefault<T>(K key, T defaultValue) → T?

Available on Map<K, V>?, provided by the MapX extension

withValue<T>(Object? key, ValueSetter<T> onValue) → void

Available on Map<K, V>?, provided by the MapX extension

withValueOrDefault<T>(Object? key, ValueSetter<T> onValue, T def) → void

Available on Map<K, V>?, provided by the MapX extension