AList<T extends Object> class

Implementers

Constructors

AList(List<T> _list)
const

Properties

first ↔ T
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
iterator Iterator<T>
no setter
last ↔ T
getter/setter pair
length int
no setter
reversed Iterable<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
single → T
no setter

Methods

add(T value) AList<T>
This operation is not supported by a fixed length list.
addAll(Iterable<T> iterable) AList<T>
This operation is not supported by a fixed length list.
any(bool test(T element)) bool
cast<R>() List<R>
clear() AList<T>
This operation is not supported by a fixed length list.
contains(Object? element) bool
elementAt(int index) → T
every(bool test(T element)) bool
expand<E>(Iterable<E> f(T element)) Iterable<E>
fillRange(int start, int end, [T? fill]) AList<T>
firstWhere(bool test(T element), {T orElse()?}) → T
fold<E>(E initialValue, E combine(E previousValue, T element)) → E
followedBy(Iterable<T> other) Iterable<T>
forEach(void action(T element)) → void
getRange(int start, int end) Iterable<T>
indexOf(T element, [int start = 0]) int
indexWhere(bool test(T element), [int start = 0]) int
insert(int index, T value) AList<T>
This operation is not supported by a fixed length list.
insertAll(int at, Iterable<T> iterable) AList<T>
This operation is not supported by a fixed length list.
join([String separator = ""]) String
lastIndexOf(T element, [int? start]) int
lastIndexWhere(bool test(T element), [int? start]) int
lastWhere(bool test(T element), {T orElse()?}) → T
map<E>(E f(T element)) Iterable<E>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reduce(T combine(T previousValue, T element)) → T
remove(Object? element) AList<T>
This operation is not supported by a fixed length list.
removeAt(int index) AList<T>
This operation is not supported by a fixed length list.
removeLast() AList<T>
This operation is not supported by a fixed length list.
removeRange(int start, int end) AList<T>
This operation is not supported by a fixed length list.
removeWhere(bool test(T element)) AList<T>
This operation is not supported by a fixed length list.
replaceRange(int start, int end, Iterable<T> iterable) AList<T>
This operation is not supported by a fixed length list.
retainWhere(bool test(T element)) AList<T>
This operation is not supported by a fixed length list.
setAll(int index, Iterable<T> iterable) AList<T>
setRange(int start, int end, Iterable<T> iterable, [int skipCount = 0]) AList<T>
singleWhere(bool test(T element), {T orElse()?}) → T
skip(int count) Iterable<T>
skipWhile(bool test(T element)) Iterable<T>
sublist(int start, [int? end]) AList<T>
take(int count) Iterable<T>
takeWhile(bool test(T element)) Iterable<T>
toList({bool growable = true}) List<T>
toSet() Set<T>
toString() String
A string representation of this object.
override
where(bool test(T element)) Iterable<T>
whereType<E>() Iterable<E>

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) → T