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
Constructors
Maps
Properties
hashCode
runtimeType
Operators
operator ==
Methods
noSuchMethod
toString
dynamic
clear
(
Map
map
)
Source
static clear(Map map) { for (final k in map.keys.toList()) { map.remove(k); } }