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

##### SplayTreeSet class

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

description

# clear method Null safety

void clear ()
override

Removes all elements in the set.

## Implementation

    void clear() {
      _clear();
    }