Array<T extends NativeType> class
final
A fixed-sized array of T
s.
- Implemented types
- Available extensions
- Annotations
-
- @Since('2.13')
Constructors
- Array.new(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 -
elements
→ List<
int> -
Available on Array<
A list view of the bytes of this array.T> , provided by the AbiSpecificIntegerArray extensionno setter -
elements
→ List<
Array< T> > -
Available on Array<
A list view of the bytes of this array.Array< , provided by the ArrayArray extensionT> >no setter -
elements
→ List<
bool> -
Available on Array<
A list view of the bytes of this array.Bool> , provided by the BoolArray extensionno setter - elements → Float64List
-
Available on Array<
A list view of the bytes of this array.Double> , provided by the DoubleArray extensionno setter - elements → Float32List
-
Available on Array<
A list view of the bytes of this array.Float> , provided by the FloatArray extensionno setter - elements → Int8List
-
Available on Array<
A list view of the bytes of this array.Int8> , provided by the Int8Array extensionno setter - elements → Int16List
-
Available on Array<
A list view of the bytes of this array.Int16> , provided by the Int16Array extensionno setter - elements → Int32List
-
Available on Array<
A list view of the bytes of this array.Int32> , provided by the Int32Array extensionno setter - elements → Int64List
-
Available on Array<
A list view of the bytes of this array.Int64> , provided by the Int64Array extensionno setter -
elements
→ List<
Pointer< T> > -
Available on Array<
A list view of the bytes of this array.Pointer< , provided by the PointerArray extensionT> >no setter -
elements
→ List<
T> -
Available on Array<
A list view of the bytes of this array.T> , provided by the StructArray extensionno setter - elements → Uint8List
-
Available on Array<
A list view of the bytes of this array.Uint8> , provided by the Uint8Array extensionno setter - elements → Uint16List
-
Available on Array<
A list view of the bytes of this array.Uint16> , provided by the Uint16Array extensionno setter - elements → Uint32List
-
Available on Array<
A list view of the bytes of this array.Uint32> , provided by the Uint32Array extensionno setter - elements → Uint64List
-
Available on Array<
A list view of the bytes of this array.Uint64> , provided by the Uint64Array extensionno setter -
elements
→ List<
T> -
Available on Array<
A list view of the bytes of this array.T> , provided by the UnionArray 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<
Loads a Dart value from this array atT> , provided by the AbiSpecificIntegerArray extensionindex
. -
operator [](
int index) → Array< T> -
Available on Array<
Array< , provided by the ArrayArray extensionT> > -
operator [](
int index) → bool -
Available on Array<
Loads a Dart value from this array atBool> , provided by the BoolArray extensionindex
. -
operator [](
int index) → double -
Available on Array<
Loads a Dart value from this array atDouble> , provided by the DoubleArray extensionindex
. -
operator [](
int index) → double -
Available on Array<
Loads a Dart value from this array atFloat> , provided by the FloatArray extensionindex
. -
operator [](
int index) → int -
Available on Array<
Loads a Dart value from this array atInt8> , provided by the Int8Array extensionindex
. -
operator [](
int index) → int -
Available on Array<
Loads a Dart value from this array atInt16> , provided by the Int16Array extensionindex
. -
operator [](
int index) → int -
Available on Array<
Loads a Dart value from this array atInt32> , provided by the Int32Array extensionindex
. -
operator [](
int index) → int -
Available on Array<
Loads a Dart value from this array atInt64> , provided by the Int64Array extensionindex
. -
operator [](
int index) → Pointer< T> -
Available on Array<
Loads a Dart value from this array atPointer< , provided by the PointerArray extensionT> >index
. -
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<
Loads a Dart value from this array atUint8> , provided by the Uint8Array extensionindex
. -
operator [](
int index) → int -
Available on Array<
Loads a Dart value from this array atUint16> , provided by the Uint16Array extensionindex
. -
operator [](
int index) → int -
Available on Array<
Loads a Dart value from this array atUint32> , provided by the Uint32Array extensionindex
. -
operator [](
int index) → int -
Available on Array<
Loads a Dart value from this array atUint64> , provided by the Uint64Array extensionindex
. -
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<
Stores a Dart value in this array atT> , provided by the AbiSpecificIntegerArray extensionindex
. -
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<
Stores a Dart value in this array atBool> , provided by the BoolArray extensionindex
. -
operator []=(
int index, double value) → void -
Available on Array<
Stores a Dart value in this array atDouble> , provided by the DoubleArray extensionindex
. -
operator []=(
int index, double value) → void -
Available on Array<
Stores a Dart value in this array atFloat> , provided by the FloatArray extensionindex
. -
operator []=(
int index, int value) → void -
Available on Array<
Stores a Dart value in this array atInt8> , provided by the Int8Array extensionindex
. -
operator []=(
int index, int value) → void -
Available on Array<
Stores a Dart value in this array atInt16> , provided by the Int16Array extensionindex
. -
operator []=(
int index, int value) → void -
Available on Array<
Stores a Dart value in this array atInt32> , provided by the Int32Array extensionindex
. -
operator []=(
int index, int value) → void -
Available on Array<
Stores a Dart value in this array atInt64> , provided by the Int64Array extensionindex
. -
operator []=(
int index, Pointer< T> value) → void -
Available on Array<
Stores a Dart value in this array atPointer< , provided by the PointerArray extensionT> >index
. -
operator []=(
int index, int value) → void -
Available on Array<
Stores a Dart value in this array atUint8> , provided by the Uint8Array extensionindex
. -
operator []=(
int index, int value) → void -
Available on Array<
Stores a Dart value in this array atUint16> , provided by the Uint16Array extensionindex
. -
operator []=(
int index, int value) → void -
Available on Array<
Stores a Dart value in this array atUint32> , provided by the Uint32Array extensionindex
. -
operator []=(
int index, int value) → void -
Available on Array<
Stores a Dart value in this array atUint64> , provided by the Uint64Array extensionindex
.