Array<T extends NativeType> constructor
Annotation to specify Array dimensions in Structs.
final class MyStruct extends Struct {
@Array(8)
external Array<Uint8> inlineArray;
@Array(2, 2, 2)
external Array<Array<Array<Uint8>>> threeDimensionalInlineArray;
}
Do not invoke in normal code.
Implementation
const factory Array(
int dimension1, [
int dimension2,
int dimension3,
int dimension4,
int dimension5,
]) = _ArraySize<T>;