Maps class
Helper class which implements complex Map operations in term of basic ones (Map.keys, Map.[], Map.[]= and Map.remove.) Not all methods are necessary to implement each particular operation.
Deprecated. Will be removed in Dart 2.
Constructors
- Maps()
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
other) → bool -
The equality operator. [...]
inherited
Static Methods
-
clear(
Map map) → dynamic -
containsKey(
Map map, Object key) → bool -
containsValue(
Map map, Object value) → bool -
forEach(
Map map, void f(key, value)) → dynamic -
getValues(
Map map) → Iterable -
isEmpty(
Map map) → bool -
isNotEmpty(
Map map) → bool -
length(
Map map) → int -
mapToString(
Map m) → String - Do not use. This entire class will be removed. [...]
-
putIfAbsent(
Map map, key, dynamic ifAbsent()) → dynamic