MapBuilder<K, V> class

Constructors

MapBuilder({bool multiKey = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
multiKey bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() Map<K, V>
clear() MapBuilder
containsKey(K key) bool
containsValue(V value) bool
get(K key) → V?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(K key, V value) MapBuilder<K, V>
putAll(Map<K, V>? map) MapBuilder<K, V>
remove(K key, {V? value}) bool
removeKey(K key) → V?
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

empty({bool multiKey = false}) Map