Dart SDK
dart:core
Map
<K, V>
abstract method clear
clear
class Map
Constructors
Map
from
fromIterable
fromIterables
identity
unmodifiable
Properties
isEmpty
isNotEmpty
keys
length
values
hashCode
runtimeType
Methods
addAll
clear
containsKey
containsValue
forEach
putIfAbsent
remove
noSuchMethod
toString
Operators
operator []
operator []=
operator ==
Static methods
castFrom
void
clear
(
)
Removes all pairs from the map.
After this, the map is empty.
Source
void clear();
method clear