description

# Array<T extends NativeType> constructor

const Array<T extends NativeType>(

1. int dimension1, [
2. int dimension2,
3. int dimension3,
4. int dimension4,
5. int dimension5,

])

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>;