NullableMapExtensions<K, V> extension

on

Properties

isEmpty bool
Whether there is no key/value pair in the map.
no setter
isNotEmpty bool
Whether there is at least one key/value pair in the map.
no setter
length int
The number of key/value pairs in the map.
no setter

Methods

containsKey(Object? element) bool
Whether this map contains the given key.
containsKeyAll(Iterable<Object?> keys) bool
Returns true if all of the given keys is in the map.
containsKeyAny(Iterable<Object?> keys) bool
Returns true if any of the given keys is in the map.
containsValue(Object? element) bool
Whether this map contains the given value.
containsValueAll(Iterable<Object?> values) bool
Returns true if all of the given values is in the map.
containsValueAny(Iterable<Object?> values) bool
Returns true if any of the given values is in the map.
get<T>(K key, T orElse) → T
Get the value corresponding to key in the map.
merge(Map<K, V>? others) Map<K, V>
Merges the map in others with the current map.