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 -
Available on Map<
Associates theK, V> , provided by the NonNullableMap extensionkey
with the givenvalue
, and returns true, if neither is null.