OneToMany<K, V> class
Properties
-
data
↔ Map<K, List<V>>
-
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forEach(void action(K k, V v))
→ void
-
Execute the given action for each key value pair
-
get(K key)
→ List<V>
-
Get the list by the key. Will return empty list if key is not present.
-
has(K key)
→ bool
-
Checks whether data has key
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
put(K key, V value)
→ void
-
Put key value
-
toString()
→ String
-
A string representation of this object.
inherited