SignalListNullExt<E> extension
Properties
- last ← E
-
Available on Signal<
The last element of the list.List< , provided by the SignalListNullExt extensionE> ?>no getter - length ← int
-
Available on Signal<
Setting theList< , provided by the SignalListNullExt extensionE> ?>length
changes the number of elements in the list.no getter
Methods
-
add(
E valueToAdd) → void -
Available on Signal<
Adds value to the end of this list, extending the length by one.List< , provided by the SignalListNullExt extensionE> ?> -
addAll(
Iterable< E> iterable) → void -
Available on Signal<
Appends all objects ofList< , provided by the SignalListNullExt extensionE> ?>iterable
to the end of this list. -
clear(
) → void -
Available on Signal<
Removes all objects from this list; the length of the list becomes zero.List< , provided by the SignalListNullExt extensionE> ?> -
fillRange(
int start, int end, [E? fillValue]) → void -
Available on Signal<
Overwrites a range of elements withList< , provided by the SignalListNullExt extensionE> ?>fillValue
. -
insert(
int index, E element) → void -
Available on Signal<
InsertsList< , provided by the SignalListNullExt extensionE> ?>element
at positionindex
in this list. -
insertAll(
int index, Iterable< E> iterable) → void -
Available on Signal<
Inserts all objects ofList< , provided by the SignalListNullExt extensionE> ?>iterable
at positionindex
in this list. -
remove(
Object? valueToRemove) → bool? -
Available on Signal<
Removes the first occurrence of value from this list.List< , provided by the SignalListNullExt extensionE> ?> -
removeAt(
int index) → E? -
Available on Signal<
Removes the object at positionList< , provided by the SignalListNullExt extensionE> ?>index
from this list. -
removeLast(
) → E? -
Available on Signal<
Removes and returns the last object in this list.List< , provided by the SignalListNullExt extensionE> ?> -
removeRange(
int start, int end) → void -
Available on Signal<
Removes a range of elements from the list.List< , provided by the SignalListNullExt extensionE> ?> -
removeWhere(
bool test(E element)) → void -
Available on Signal<
Removes all objects from this list that satisfyList< , provided by the SignalListNullExt extensionE> ?>test
. -
replaceRange(
int start, int end, Iterable< E> replacements) → void -
Available on Signal<
Replaces a range of elements with the elements ofList< , provided by the SignalListNullExt extensionE> ?>replacements
. -
retainWhere(
bool test(E element)) → void -
Available on Signal<
Removes all objects from this list that fail to satisfyList< , provided by the SignalListNullExt extensionE> ?>test
. -
setAll(
int index, Iterable< E> iterable) → void -
Available on Signal<
Overwrites elements with the objects ofList< , provided by the SignalListNullExt extensionE> ?>iterable
. -
setRange(
int start, int end, Iterable< E> iterable, [int skipCount = 0]) → void -
Available on Signal<
Writes some elements ofList< , provided by the SignalListNullExt extensionE> ?>iterable
into a range of this list. -
shuffle(
[Random? random]) → void -
Available on Signal<
Shuffles the elements of this list randomly.List< , provided by the SignalListNullExt extensionE> ?> -
sort(
[int compare(E a, E b)?]) → void -
Available on Signal<
Sorts this list according to the order specified by theList< , provided by the SignalListNullExt extensionE> ?>compare
function.
Operators
-
operator []=(
int index, E valueToSet) → void -
Available on Signal<
Sets the value at the givenList< , provided by the SignalListNullExt extensionE> ?>index
in the list to value.