ListAction<E> class

Constructors

ListAction(List<E> _list(), void first(E value), void last(E value), int length(), void add(E value), void addAll(Iterable<E> iterable), void sort([int compare(E, E)?]), void shuffle([Random? random]), int indexOf(E element, [int start]), int indexWhere(bool test(E), [int start]), int lastIndexWhere(bool test(E), [int? start]), int lastIndexOf(E element, [int? start]), void clear(), void insert(int index, E element), void insertAll(int index, Iterable<E> iterable), void setAll(int index, Iterable<E> iterable), bool remove(Object? value), E removeAt(int index), E removeLast(), void removeWhere(bool test(E element)), List<E> sublist(int start, [int? end]), Iterable<E> getRange(int start, int end), void setRange(int start, int end, Iterable<E> iterable, [int skipCount]), void removeRange(int start, int end), void fillRange(int start, int end, [E? fillValue]), void replaceRange(int start, int end, Iterable<E> replacements), VoidCallback reset, Map<int, E> asMap())

Properties

add → void Function(E value)
final
addAll → void Function(Iterable<E> iterable)
final
asMap Map<int, E> Function()
final
clear → void Function()
final
fillRange → void Function(int start, int end, [E? fillValue])
final
first → void Function(E value)
final
getRange Iterable<E> Function(int start, int end)
final
hashCode int
The hash code for this object.
no setterinherited
indexOf int Function(E element, [int start])
final
indexWhere int Function(bool test(E), [int start])
final
insert → void Function(int index, E element)
final
insertAll → void Function(int index, Iterable<E> iterable)
final
last → void Function(E value)
final
lastIndexOf int Function(E element, [int? start])
final
lastIndexWhere int Function(bool test(E), [int? start])
final
length int Function()
final
list List<E>
no setter
remove bool Function(Object? value)
final
removeAt → E Function(int index)
final
removeLast → E Function()
final
removeRange → void Function(int start, int end)
final
removeWhere → void Function(bool test(E element))
final
replaceRange → void Function(int start, int end, Iterable<E> replacements)
final
reset VoidCallback
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setAll → void Function(int index, Iterable<E> iterable)
final
setRange → void Function(int start, int end, Iterable<E> iterable, [int skipCount])
final
shuffle → void Function([Random? random])
final
sort → void Function([int compare(E, E)?])
final
sublist List<E> Function(int start, [int? end])
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited