1. Dart
2. dart:core
3. Set<E>
4. retainWhere abstract method

##### Set class

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

description

# retainWhere method Null safety

void retainWhere (

1. bool test(
   1. E element
   )

)

Removes all elements of this set that fail to satisfy `test`.

## Implementation

    void retainWhere(bool test(E element));