Array$Typings<T> extension

on

Properties

at ↔ T? Function(num)
getter/setter pair
copyWithin Array Function(num, num, [num?])
getter/setter pair
entries IterableIterator<(num, T)> Function()
getter/setter pair
every → ({dynamic Function<S extends T>(dynamic predicate(T, num, List<T>), [dynamic thisArg]) $1, bool Function(Object? predicate(T, num, List<T>), [dynamic thisArg]) $2})
Overload accessor: $1, $2
no setter
fill Array Function(T, [num?, num?])
getter/setter pair
filter → ({List<S> Function<S extends T>(dynamic predicate(T, num, List<T>), [dynamic thisArg]) $1, List<T> Function(Object? predicate(T, num, List<T>), [dynamic thisArg]) $2})
Overload accessor: $1, $2
no setter
find → ({S? Function<S extends T>(dynamic predicate(T, num, List<T>), [dynamic thisArg]) $1, T? Function(Object? predicate(T, num, List<T>), [dynamic thisArg]) $2})
Overload accessor: $1, $2
no setter
findIndex num Function(Object? (T, num, List<T>), [dynamic])
getter/setter pair
findLast → ({S? Function<S extends T>(dynamic predicate(T, num, List<T>), [dynamic thisArg]) $1, T? Function(Object? predicate(T, num, List<T>), [dynamic thisArg]) $2})
Overload accessor: $1, $2
no setter
findLastIndex num Function(Object? (T, num, List<T>), [dynamic])
getter/setter pair
flat List Function<A, D extends num>([D?])
getter/setter pair
flatMap List<U> Function<U, This>(Object (T, num, List<T>), [This?])
getter/setter pair
forEach ↔ void Function(void (T, num, List<T>), [dynamic])
getter/setter pair
includes bool Function(T, [num?])
getter/setter pair
indexOf num Function(T, [num?])
getter/setter pair
join String Function([String?])
getter/setter pair
keys IterableIterator<num> Function()
getter/setter pair
lastIndexOf num Function(T, [num?])
getter/setter pair
length num
Gets or sets the length of the array. This is a number one higher than the highest index in the array.
getter/setter pair
map List<U> Function<U>(U (T, num, List<T>), [dynamic])
getter/setter pair
pop ↔ T? Function()
getter/setter pair
push num Function([Iterable?])
getter/setter pair
reduce → ({T Function(T callbackfn(T, T, num, List<T>), T initialValue) $1, U Function<U>(U callbackfn(U, T, num, List<T>), U initialValue) $2})
Overload accessor: $1, $2
no setter
reduceRight → ({T Function(T callbackfn(T, T, num, List<T>), T initialValue) $1, U Function<U>(U callbackfn(U, T, num, List<T>), U initialValue) $2})
Overload accessor: $1, $2
no setter
reverse List<T> Function()
getter/setter pair
shift ↔ T? Function()
getter/setter pair
slice List<T> Function([num?, num?])
getter/setter pair
some bool Function(Object? (T, num, List<T>), [dynamic])
getter/setter pair
sort Array Function([num (T, T)?])
getter/setter pair
toLocaleString String Function()
getter/setter pair
toReversed List<T> Function()
getter/setter pair
toSorted List<T> Function([num (T, T)?])
getter/setter pair
toString$ String Function()
getter/setter pair
unshift num Function([Iterable?])
getter/setter pair
values IterableIterator<T> Function()
getter/setter pair
with$ List<T> Function(num, T)
getter/setter pair

Methods

concat([Iterable? items]) List<T>
Combines two or more arrays. This method returns a new array without modifying any existing arrays. @param items Additional arrays and/or items to add to the end of the array.
splice(num start, num deleteCount, [Iterable? items]) List<T>
Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements. @param start The zero-based location in the array from which to start removing elements. @param deleteCount The number of elements to remove. @param items Elements to insert into the array in place of the deleted elements. @returns An array containing the elements that were deleted.
toSpliced(num start, num deleteCount, [Iterable? items]) List<T>
Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array. @param start The zero-based location in the array from which to start removing elements. @param deleteCount The number of elements to remove. @param items Elements to insert into the copied array in place of the deleted elements. @returns The copied array.

Operators

operator [](num index) → T
operator []=(num index, T value) → void