Dart SDK
dart:collection
Maps
clear method
clear
Maps class
Constructors
Maps
Properties
hashCode
runtimeType
Methods
noSuchMethod
toString
Operators
operator ==
Static methods
clear
containsKey
containsValue
forEach
getValues
isEmpty
isNotEmpty
length
mapToString
putIfAbsent
clear method
dynamic
clear
(
Map
map
)
Implementation
static clear(Map map) { for (final k in map.keys.toList()) { map.remove(k); } }