Dart
dart:collection
SetMixin
<
E
>
clear method
clear
Dart
dart:collection
SetMixin
<
E
>
clear method
SetMixin class
Constructors
SetMixin
Properties
first
hashCode
isEmpty
isNotEmpty
iterator
last
length
runtimeType
single
Methods
add
addAll
any
cast
clear
contains
containsAll
difference
elementAt
every
expand
firstWhere
fold
followedBy
forEach
intersection
join
lastWhere
lookup
map
noSuchMethod
reduce
remove
removeAll
removeWhere
retainAll
retainWhere
singleWhere
skip
skipWhile
take
takeWhile
toList
toSet
toString
union
where
whereType
Operators
operator ==
description
clear
method
Null safety
void
clear
(
)
override
Removes all elements in the set.
Implementation
void clear() { removeAll(toList()); }