CoreListExtension<T extends Object> extension Null safety

on

Properties

iterable Iterable<T>
read-only
lastIndex int
read-only

Methods

chop([int num = 1]) List<T>
chunkedStream(int chunkSize) Stream<List<T>>
end(int index) → T
firstOrNull([bool filter(T item)?]) → T?
get(int index) → T?
safeRemove(int index) → T?
@Deprecated("Use tryRemove")
singleOrNull() → T?
tail([int i = 1]) List<T>
tryEnd(int index) → T?
tryGet(int index) → T?
tryRemove(int index) → T?
trySublist(int startIndex, int endIndex) List<T>
updateWhere(bool predicate(T check), dynamic mutate(T input)) List<T>

Operators

operator *(dynamic item) List<T>
The existing List + operator only works for lists, so *= is the best we can do