Array<T extends NativeType> class
final
A fixed-sized array of T
s.
- Implemented types
- Available extensions
- Annotations
-
- @Since('2.13')
Constructors
- Array(int dimension1, [int dimension2, int dimension3, int dimension4, int dimension5])
-
Annotation to specify Array dimensions in Structs.
constfactory
-
Array.multi(List<
int> dimensions) -
Annotation to specify Array dimensions in Structs.
constfactory
- Array.variable([int dimension2, int dimension3, int dimension4, int dimension5])
-
Annotation to specify a variable length Array in Structs.
constfactory
-
Array.variableMulti(List<
int> dimensions, {@Since('3.7') int variableDimension}) -
Annotation to a variable length Array in Structs.
constfactory
- Array.variableWithVariableDimension([int dimension1, int dimension2, int dimension3, int dimension4, int dimension5])
-
Annotation to specify a variable length Array with a configurable
variable dimension (
dimension1
) in Structs.constfactory
Properties
-
address
→ Pointer<
T> -
Available on Array<
The memory address of the underlying data.T> , provided by the ArrayAddress extensionno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
operator [](
int index) → int -
Available on Array<
T> , provided by the AbiSpecificIntegerArray extension -
operator [](
int index) → Array< T> -
Available on Array<
Array< , provided by the ArrayArray extensionT> > -
operator [](
int index) → bool -
Available on Array<
Bool> , provided by the BoolArray extension -
operator [](
int index) → double -
Available on Array<
Double> , provided by the DoubleArray extension -
operator [](
int index) → double -
Available on Array<
Float> , provided by the FloatArray extension -
operator [](
int index) → int -
Available on Array<
Int8> , provided by the Int8Array extension -
operator [](
int index) → int -
Available on Array<
Int16> , provided by the Int16Array extension -
operator [](
int index) → int -
Available on Array<
Int32> , provided by the Int32Array extension -
operator [](
int index) → int -
Available on Array<
Int64> , provided by the Int64Array extension -
operator [](
int index) → Pointer< T> -
Available on Array<
Pointer< , provided by the PointerArray extensionT> > -
operator [](
int index) → T -
Available on Array<
This extension method must be invoked on a receiver of typeT> , provided by the StructArray extensionPointer<T>
whereT
is a compile-time constant type. -
operator [](
int index) → int -
Available on Array<
Uint8> , provided by the Uint8Array extension -
operator [](
int index) → int -
Available on Array<
Uint16> , provided by the Uint16Array extension -
operator [](
int index) → int -
Available on Array<
Uint32> , provided by the Uint32Array extension -
operator [](
int index) → int -
Available on Array<
Uint64> , provided by the Uint64Array extension -
operator [](
int index) → T -
Available on Array<
This extension method must be invoked on a receiver of typeT> , provided by the UnionArray extensionPointer<T>
whereT
is a compile-time constant type. -
operator []=(
int index, int value) → void -
Available on Array<
T> , provided by the AbiSpecificIntegerArray extension -
operator []=(
int index, Array< T> value) → void -
Available on Array<
Array< , provided by the ArrayArray extensionT> > -
operator []=(
int index, bool value) → void -
Available on Array<
Bool> , provided by the BoolArray extension -
operator []=(
int index, double value) → void -
Available on Array<
Double> , provided by the DoubleArray extension -
operator []=(
int index, double value) → void -
Available on Array<
Float> , provided by the FloatArray extension -
operator []=(
int index, int value) → void -
Available on Array<
Int8> , provided by the Int8Array extension -
operator []=(
int index, int value) → void -
Available on Array<
Int16> , provided by the Int16Array extension -
operator []=(
int index, int value) → void -
Available on Array<
Int32> , provided by the Int32Array extension -
operator []=(
int index, int value) → void -
Available on Array<
Int64> , provided by the Int64Array extension -
operator []=(
int index, Pointer< T> value) → void -
Available on Array<
Pointer< , provided by the PointerArray extensionT> > -
operator []=(
int index, int value) → void -
Available on Array<
Uint8> , provided by the Uint8Array extension -
operator []=(
int index, int value) → void -
Available on Array<
Uint16> , provided by the Uint16Array extension -
operator []=(
int index, int value) → void -
Available on Array<
Uint32> , provided by the Uint32Array extension -
operator []=(
int index, int value) → void -
Available on Array<
Uint64> , provided by the Uint64Array extension