TypedMap<B> class
A map, similar to Map, but always uses the type of the value as the key.
Constructors
- TypedMap()
- Create an empty typed map.
-
TypedMap.fromList(List<
B> items) - Create a typed map from a list of values.
Properties
Methods
-
get<
T> () → T? -
Return the object of type
T
from the map, if it has been stored. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set<
T extends B> (T value) → void -
Associate the type of
value
withvalue
in the map. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited