MapExtensions<K, V> extension
- on
-
- Map<
K, V>
- Map<
Methods
-
addWith(
Map< K, V> other, Iterable<K> keys) → Map<K, V> -
Set only the value of the key specified
by
keys
in the map specified byother
. -
containsKeyAll(
Iterable< Object?> keys) → bool -
Returns
true
if all of the givenkeys
is in the map. -
containsKeyAny(
Iterable< Object?> keys) → bool -
Returns
true
if any of the givenkeys
is in the map. -
containsValueAll(
Iterable< Object?> values) → bool -
Returns
true
if all of the givenvalues
is in the map. -
containsValueAny(
Iterable< Object?> values) → bool -
Returns
true
if any of the givenvalues
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, {K convertKeys(K key)?, V convertValues(V value)?}) → Map<K, V> -
Merges the map in
others
with the current map. -
toList<
T> (T callback(K key, V value)) → Iterable< T> -
Convert it to a list through
callback
.