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