MapBuilder<K, V> class

Constructors

MapBuilder({bool multiKey})

Properties

isEmpty bool
read-only
isNotEmpty bool
read-only
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

build() Map
clear() MapBuilder
containsKey(K key) bool
containsValue(V value) bool
get(K key) → V
put(K key, V value) MapBuilder<K, V>
putAll(Map<K, V> _map) MapBuilder<K, V>
remove(K key, {V value}) bool
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 ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

empty({bool multiKey: false}) Map