1. Dart
2. dart:collection
3. SetMixin<E>
4. clear method

##### SetMixin class

1. Constructors
2. SetMixin
3. Properties
4. first
5. isEmpty
6. isNotEmpty
7. iterator
8. last
9. length
10. single
11. hashCode
12. runtimeType
13. Methods
14. add
15. addAll
16. any
17. cast
18. clear
19. contains
20. containsAll
21. difference
22. elementAt
23. every
24. expand
25. firstWhere
26. fold
27. followedBy
28. forEach
29. intersection
30. join
31. lastWhere
32. lookup
33. map
34. reduce
35. remove
36. removeAll
37. removeWhere
38. retainAll
39. retainWhere
40. singleWhere
41. skip
42. skipWhile
43. take
44. takeWhile
45. toList
46. toSet
47. toString
48. union
49. where
50. whereType
51. noSuchMethod
52. Operators
53. operator ==

description

# clear method

void clear ()
override

Removes all elements in the set.

## Implementation

    void clear() {
      removeAll(toList());
    }