Flutter
dart:collection
MapView
<
K
,
V
>
clear method
clear
MapView class
Constructors
MapView
Properties
entries
isEmpty
isNotEmpty
keys
length
values
hashCode
runtimeType
Methods
addAll
addEntries
cast
clear
containsKey
containsValue
forEach
map
putIfAbsent
remove
removeWhere
toString
update
updateAll
noSuchMethod
Operators
operator []
operator []=
operator ==
clear method
void
clear
(
)
override
Removes all pairs from the map.
After this, the map is empty.
Implementation
void clear() { _map.clear(); }