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