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