Flutter
foundation
ObserverList
<
T
>
clear method
clear
description
clear
method
Null safety
void
clear
(
)
Removes all items from the list.
Implementation
void clear() { _isDirty = false; _list.clear(); _set.clear(); }
Flutter
foundation
ObserverList
<
T
>
clear method
ObserverList class
Constructors
ObserverList
Properties
first
hashCode
isEmpty
isNotEmpty
iterator
last
length
runtimeType
single
Methods
add
any
cast
clear
contains
elementAt
every
expand
firstWhere
fold
followedBy
forEach
join
lastWhere
map
noSuchMethod
reduce
remove
singleWhere
skip
skipWhile
take
takeWhile
toList
toSet
toString
where
whereType
Operators
operator ==