Dart
dart:collection
Queue
<
E
>
clear abstract method
clear
description
clear
method
Null safety
void
clear
(
)
Removes all elements in the queue. The size of the queue becomes zero.
Implementation
void clear();
Dart
dart:collection
Queue
<
E
>
clear abstract method
Queue class
Constructors
Queue
from
of
Properties
first
hashCode
isEmpty
isNotEmpty
iterator
last
length
runtimeType
single
Methods
add
addAll
addFirst
addLast
any
cast
clear
contains
elementAt
every
expand
firstWhere
fold
followedBy
forEach
join
lastWhere
map
noSuchMethod
reduce
remove
removeFirst
removeLast
removeWhere
retainWhere
singleWhere
skip
skipWhile
take
takeWhile
toList
toSet
toString
where
whereType
Operators
operator ==
Static methods
castFrom