Mutable list state returned by useList.
Properties
Methods
-
add(
T item) → void -
Appends
item. -
addAll(
Iterable< T> items) → void -
Appends
items, skipping the update whenitemsis empty. -
clear(
) → void - Removes every value, skipping the update when already empty.
-
insert(
int index, T item) → void -
Inserts
itematindex. -
insertAll(
int index, Iterable< T> items) → void -
Inserts
itemsatindex, skipping the update whenitemsis empty. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
T item) → bool -
Removes the first occurrence of
itemand reports whether it was found. -
removeAt(
int index) → T -
Removes and returns the value at
index. -
replaceAll(
Iterable< T> items) → void - Replaces all values when their ordered contents differ.
-
setAt(
int index, T item) → void -
Replaces the value at
indexwhen it differs fromitem. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited