Maps class

Helper class which implements complex Map operations in term of basic ones (Map.keys, Map.operator [], Map.operator [=] and Map.remove.) Not all methods are necessary to implement each particular operation.

Helper class which implements complex Map operations in term of basic ones (Map.keys, Map.operator , Map.operator = and Map.remove.) Not all methods are necessary to implement each particular operation.

Constructors

Maps()

Static Methods

containsValue(Map map, value) → bool
containsKey(Map map, key) → bool
putIfAbsent(Map map, key, dynamic ifAbsent()) → dynamic
clear(Map map) → dynamic
forEach(Map map, void f(key, value)) → dynamic
getValues(Map map) → Iterable
length(Map map) → int
isEmpty(Map map) → bool
isNotEmpty(Map map) → bool
mapToString(Map m) → String
Returns a string representing the specified map. The returned string looks like this: '{key0: value0, key1: value1, ... keyN: valueN}'. The value returned by its toString method is used to represent each key or value.