NonNullableMap<K extends Object, V extends Object> extension
Provides functions for working with Maps with null-nullable entries.
- on
-
- Map<
K, V>
- Map<
Methods
-
putIfNotNull(
K? key, V? value) → bool -
Associates the
key
with the givenvalue
, and returns true, if neither is null.