Array<T extends NativeType> classfinal
A fixed-sized array ofTs.
- Implemented types
- Available extensions
- Annotations
- @Since.new('2.13')
Constructors
- Array(intdimension1, [intdimension2,intdimension3,intdimension4,intdimension5])
- Annotation to specifyArray dimensions inStructs.constfactory
- Array.multi(List<
int> dimensions) - Annotation to specifyArray dimensions inStructs.constfactory
- Array.variable([intdimension2,intdimension3,intdimension4,intdimension5])
- Annotation to specify a variable lengthArray inStructs.constfactory
- Array.variableMulti(List<
int> dimensions, {@Since.new('3.7')intvariableDimension}) - Annotation to a variable lengthArray inStructs.constfactory
- Array.variableWithVariableDimension([intdimension1,intdimension2,intdimension3,intdimension4,intdimension5])
- Annotation to specify a variable lengthArray with a configurablevariable dimension (
dimension1) inStructs.constfactory
Properties
- address→Pointer<
T> Available onArray<
The memory address of the underlying data.T> , provided by theArrayAddress extensionno setter- elements→List<
int> Available onArray<
A list view of the bytes of this array.T> , provided by theAbiSpecificIntegerArray extensionno setter- elements→List<
Array< T> > Available onArray<
A list view of the bytes of this array.Array< , provided by theArrayArray extensionT> >no setter- elements→List<
bool> Available onArray<
A list view of the bytes of this array.Bool> , provided by theBoolArray extensionno setter- elements→Float64List
Available onArray<
A list view of the bytes of this array.Double> , provided by theDoubleArray extensionno setter- elements→Float32List
Available onArray<
A list view of the bytes of this array.Float> , provided by theFloatArray extensionno setter- elements→Int8List
Available onArray<
A list view of the bytes of this array.Int8> , provided by theInt8Array extensionno setter- elements→Int16List
Available onArray<
A list view of the bytes of this array.Int16> , provided by theInt16Array extensionno setter- elements→Int32List
Available onArray<
A list view of the bytes of this array.Int32> , provided by theInt32Array extensionno setter- elements→Int64List
Available onArray<
A list view of the bytes of this array.Int64> , provided by theInt64Array extensionno setter- elements→List<
Pointer< T> > Available onArray<
A list view of the bytes of this array.Pointer< , provided by thePointerArray extensionT> >no setter- elements→List<
T> Available onArray<
A list view of the bytes of this array.T> , provided by theStructArray extensionno setter- elements→Uint8List
Available onArray<
A list view of the bytes of this array.Uint8> , provided by theUint8Array extensionno setter- elements→Uint16List
Available onArray<
A list view of the bytes of this array.Uint16> , provided by theUint16Array extensionno setter- elements→Uint32List
Available onArray<
A list view of the bytes of this array.Uint32> , provided by theUint32Array extensionno setter- elements→Uint64List
Available onArray<
A list view of the bytes of this array.Uint64> , provided by theUint64Array extensionno setter- elements→List<
T> Available onArray<
A list view of the bytes of this array.T> , provided by theUnionArray 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(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atT> , provided by theAbiSpecificIntegerArray extensionindex.- operator [](
intindex)→Array< T> Available onArray<
Array< , provided by theArrayArray extensionT> >- operator [](
intindex)→bool Available onArray<
Loads a Dart value from this array atBool> , provided by theBoolArray extensionindex.- operator [](
intindex)→double Available onArray<
Loads a Dart value from this array atDouble> , provided by theDoubleArray extensionindex.- operator [](
intindex)→double Available onArray<
Loads a Dart value from this array atFloat> , provided by theFloatArray extensionindex.- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atInt8> , provided by theInt8Array extensionindex.- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atInt16> , provided by theInt16Array extensionindex.- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atInt32> , provided by theInt32Array extensionindex.- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atInt64> , provided by theInt64Array extensionindex.- operator [](
intindex)→Pointer< T> Available onArray<
Loads a Dart value from this array atPointer< , provided by thePointerArray extensionT> >index.- operator [](
intindex)→ T Available onArray<
This extension method must be invoked on a receiver of typeT> , provided by theStructArray extensionPointer<T>whereTis a compile-time constant type.- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atUint8> , provided by theUint8Array extensionindex.- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atUint16> , provided by theUint16Array extensionindex.- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atUint32> , provided by theUint32Array extensionindex.- operator [](
intindex)→int Available onArray<
Loads a Dart value from this array atUint64> , provided by theUint64Array extensionindex.- operator [](
intindex)→ T Available onArray<
This extension method must be invoked on a receiver of typeT> , provided by theUnionArray extensionPointer<T>whereTis a compile-time constant type.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atT> , provided by theAbiSpecificIntegerArray extensionindex.- operator []=(
intindex,Array< T> value)→ void Available onArray<
Array< , provided by theArrayArray extensionT> >- operator []=(
intindex,boolvalue)→ void Available onArray<
Stores a Dart value in this array atBool> , provided by theBoolArray extensionindex.- operator []=(
intindex,doublevalue)→ void Available onArray<
Stores a Dart value in this array atDouble> , provided by theDoubleArray extensionindex.- operator []=(
intindex,doublevalue)→ void Available onArray<
Stores a Dart value in this array atFloat> , provided by theFloatArray extensionindex.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atInt8> , provided by theInt8Array extensionindex.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atInt16> , provided by theInt16Array extensionindex.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atInt32> , provided by theInt32Array extensionindex.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atInt64> , provided by theInt64Array extensionindex.- operator []=(
intindex,Pointer< T> value)→ void Available onArray<
Stores a Dart value in this array atPointer< , provided by thePointerArray extensionT> >index.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atUint8> , provided by theUint8Array extensionindex.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atUint16> , provided by theUint16Array extensionindex.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atUint32> , provided by theUint32Array extensionindex.- operator []=(
intindex,intvalue)→ void Available onArray<
Stores a Dart value in this array atUint64> , provided by theUint64Array extensionindex.