SignalListExt<E> extension

on

Properties

first ← E

Available on Signal<List<E>>, provided by the SignalListExt extension

The first element of the list.
no getter
last ← E

Available on Signal<List<E>>, provided by the SignalListExt extension

The last element of the list.
no getter
length int

Available on Signal<List<E>>, provided by the SignalListExt extension

Setting the length changes the number of elements in the list.
no getter

Methods

add(E valueToAdd) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Adds value to the end of this list, extending the length by one.
addAll(Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Appends all objects of iterable to the end of this list.
clear() → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes all objects from this list; the length of the list becomes zero.
fillRange(int start, int end, [E? fillValue]) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Overwrites a range of elements with fillValue.
insert(int index, E element) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Inserts element at position index in this list.
insertAll(int index, Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Inserts all objects of iterable at position index in this list.
remove(Object? valueToRemove) bool

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes the first occurrence of value from this list.
removeAt(int index) → E

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes the object at position index from this list.
removeLast() → E

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes and returns the last object in this list.
removeRange(int start, int end) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes a range of elements from the list.
removeWhere(bool test(E element)) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes all objects from this list that satisfy test.
replaceRange(int start, int end, Iterable<E> replacements) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Replaces a range of elements with the elements of replacements.
retainWhere(bool test(E element)) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Removes all objects from this list that fail to satisfy test.
setAll(int index, Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Overwrites elements with the objects of iterable.
setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Writes some elements of iterable into a range of this list.
shuffle([Random? random]) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Shuffles the elements of this list randomly.
sort([int compare(E a, E b)?]) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Sorts this list according to the order specified by the compare function.

Operators

operator [](int index) → E

Available on Signal<List<E>>, provided by the SignalListExt extension

The object at the given index in the list.
operator []=(int index, E valueToSet) → void

Available on Signal<List<E>>, provided by the SignalListExt extension

Sets the value at the given index in the list to value.