Dart
dart:core
Map
<
K
,
V
>
clear abstract method
clear
description
clear
method
Null safety
void
clear
(
)
Removes all entries from the map.
After this, the map is empty.
Implementation
void 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