SignalListNullExt<E> extension
Properties
- first ← E
-
Available on Signal<
The first element of the list.List< , provided by the SignalListNullExt extensionE> ?>no getter - last ← E
-
Available on Signal<
The last element of the list.List< , provided by the SignalListNullExt extensionE> ?>no getter - length ↔ int
-
Available on Signal<
The number of objects in this list.List< , provided by the SignalListNullExt extensionE> ?>getter/setter pair -
reversed
→ Iterable<
E> ? -
Available on Signal<
An Iterable of the objects in this list in reverse order.List< , provided by the SignalListNullExt extensionE> ?>no setter
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> ?>iterableto the end of this list. -
asMap(
) → Map< int, E> ? -
Available on Signal<
An unmodifiable Map view of this list.List< , provided by the SignalListNullExt extensionE> ?> -
cast<
R> () → List< R> ? -
Available on Signal<
Returns a view of this list as a list ofList< , provided by the SignalListNullExt extensionE> ?>Rinstances. -
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. -
getRange(
int start, int end) → Iterable< E> ? -
Available on Signal<
Creates an Iterable that iterates over a range of elements.List< , provided by the SignalListNullExt extensionE> ?> -
indexOf(
E element, [int start = 0]) → int? -
Available on Signal<
The first index ofList< , provided by the SignalListNullExt extensionE> ?>elementin this list. -
indexWhere(
bool test(E element), [int start = 0]) → int? -
Available on Signal<
The first index in the list that satisfies the providedList< , provided by the SignalListNullExt extensionE> ?>test. -
insert(
int index, E element) → void -
Available on Signal<
InsertsList< , provided by the SignalListNullExt extensionE> ?>elementat positionindexin this list. -
insertAll(
int index, Iterable< E> iterable) → void -
Available on Signal<
Inserts all objects ofList< , provided by the SignalListNullExt extensionE> ?>iterableat positionindexin this list. -
lastIndexOf(
E element, [int? start]) → int? -
Available on Signal<
The last index ofList< , provided by the SignalListNullExt extensionE> ?>elementin this list. -
lastIndexWhere(
bool test(E element), [int? start]) → int? -
Available on Signal<
The last index in the list that satisfies the providedList< , provided by the SignalListNullExt extensionE> ?>test. -
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> ?>indexfrom 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> ?>iterableinto 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> ?>comparefunction. -
sublist(
int start, [int? end]) → List< E> ? -
Available on Signal<
Returns a new list containing the elements betweenList< , provided by the SignalListNullExt extensionE> ?>startandend.
Operators
-
operator [](
int index) → E? -
Available on Signal<
The object at the givenList< , provided by the SignalListNullExt extensionE> ?>indexin the list. -
operator []=(
int index, E valueToSet) → void -
Available on Signal<
Sets the value at the givenList< , provided by the SignalListNullExt extensionE> ?>indexin the list to value.