SignalListNullExt<E> extension

on

Properties

last ← E

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

The last element of the list.
no getter
length int

Available on Signal<List<E>?>, provided by the SignalListNullExt 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 SignalListNullExt 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 SignalListNullExt extension

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

Available on Signal<List<E>?>, provided by the SignalListNullExt 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 SignalListNullExt extension

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

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

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

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

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

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

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

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

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

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

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

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

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

Available on Signal<List<E>?>, provided by the SignalListNullExt 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 SignalListNullExt 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 SignalListNullExt 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 SignalListNullExt 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 SignalListNullExt extension

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

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

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

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

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

Operators

operator []=(int index, E valueToSet) → void

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

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