Dart API Reference
dart:collection
MapMixin
clear
clear
method
Removes all pairs from the map.
void
clear
( )
Removes all pairs from the map.
After this, the map is empty.