Array<T> class
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
Properties
- at ↔ T? Function(num)
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - copyWithin ↔ Array Function(num, num, [num?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
entries
↔ IterableIterator<
(num, T)> Function() -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
every
→ ({dynamic Function<
S extends T>(dynamic predicate(T, num, List< $1, bool Function(Object? predicate(T, num, List<T> ), [dynamic thisArg])T> ), [dynamic thisArg]) $2}) -
Available on Array<
Overload accessor: $1, $2T> , provided by the Array$Typings extensionno setter - fill ↔ Array Function(T, [num?, num?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
filter
→ ({List<
S> Function<S extends T>(dynamic predicate(T, num, List< $1, List<T> ), [dynamic thisArg])T> Function(Object? predicate(T, num, List<T> ), [dynamic thisArg]) $2}) -
Available on Array<
Overload accessor: $1, $2T> , provided by the Array$Typings extensionno setter -
find
→ ({S? Function<
S extends T>(dynamic predicate(T, num, List< $1, T? Function(Object? predicate(T, num, List<T> ), [dynamic thisArg])T> ), [dynamic thisArg]) $2}) -
Available on Array<
Overload accessor: $1, $2T> , provided by the Array$Typings extensionno setter -
findIndex
↔ num Function(Object? (T, num, List<
T> ), [dynamic]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
findLast
→ ({S? Function<
S extends T>(dynamic predicate(T, num, List< $1, T? Function(Object? predicate(T, num, List<T> ), [dynamic thisArg])T> ), [dynamic thisArg]) $2}) -
Available on Array<
Overload accessor: $1, $2T> , provided by the Array$Typings extensionno setter -
findLastIndex
↔ num Function(Object? (T, num, List<
T> ), [dynamic]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
flat
↔ List Function<
A, D extends num>([D?]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
flatMap
↔ List<
U> Function<U, This>(Object (T, num, List< T> ), [This?]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
forEach
↔ void Function(void (T, num, List<
T> ), [dynamic]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- includes ↔ bool Function(T, [num?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - indexOf ↔ num Function(T, [num?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - join ↔ String Function([String?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
keys
↔ IterableIterator<
num> Function() -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - lastIndexOf ↔ num Function(T, [num?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - length ↔ num
-
Available on Array<
Gets or sets the length of the array. This is a number one higher than the highest index in the array.T> , provided by the Array$Typings extensiongetter/setter pair -
map
↔ List<
U> Function<U>(U (T, num, List< T> ), [dynamic]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - pop ↔ T? Function()
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - push ↔ num Function([Iterable?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
reduce
→ ({T Function(T callbackfn(T, T, num, List<
T> ), T initialValue) $1, U Function<U>(U callbackfn(U, T, num, List< $2})T> ), U initialValue) -
Available on Array<
Overload accessor: $1, $2T> , provided by the Array$Typings extensionno setter -
reduceRight
→ ({T Function(T callbackfn(T, T, num, List<
T> ), T initialValue) $1, U Function<U>(U callbackfn(U, T, num, List< $2})T> ), U initialValue) -
Available on Array<
Overload accessor: $1, $2T> , provided by the Array$Typings extensionno setter -
reverse
↔ List<
T> Function() -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shift ↔ T? Function()
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
slice
↔ List<
T> Function([num?, num?]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
some
↔ bool Function(Object? (T, num, List<
T> ), [dynamic]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - sort ↔ Array Function([num (T, T)?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - toLocaleString ↔ String Function()
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
toReversed
↔ List<
T> Function() -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
toSorted
↔ List<
T> Function([num (T, T)?]) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - toString$ ↔ String Function()
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair - unshift ↔ num Function([Iterable?])
-
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
values
↔ IterableIterator<
T> Function() -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair -
with$
↔ List<
T> Function(num, T) -
Available on Array<
T> , provided by the Array$Typings extensiongetter/setter pair
Methods
-
concat(
[Iterable? items]) → List< T> -
Available on Array<
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.T> , provided by the Array$Typings extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
splice(
num start, num deleteCount, [Iterable? items]) → List< T> -
Available on Array<
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.T> , provided by the Array$Typings extension -
toSpliced(
num start, num deleteCount, [Iterable? items]) → List< T> -
Available on Array<
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.T> , provided by the Array$Typings extension -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
num index) → T -
Available on Array<
T> , provided by the Array$Typings extension -
operator []=(
num index, T value) → void -
Available on Array<
T> , provided by the Array$Typings extension
Static Properties
-
from
→ ({List<
T> Function<T>(From iterable) $1, List<U> Function<T, U>(List< $2, List<T> arrayLike, U mapfn(T, num), [dynamic thisArg])U> Function<T, U>(FromCommon iterable, U mapfn(T, num), [dynamic thisArg]) $3}) -
Overload accessor: $1, $2, $3
no setter
- isArray ↔ dynamic Function([dynamic])
-
getter/setter pair
-
of
↔ List<
T> Function<T>([Iterable?]) -
getter/setter pair