Dart API Reference
dart:collection
SetMixin
clear
clear
method
Removes all elements in the set.
void
clear
( )
Removes all elements in the set.