ArrayType constructor

const ArrayType(
  1. DType inner,
  2. int width
)

Creates an array type of width elements of type inner.

width must be positive. It is checked when the type is encoded.

Implementation

const ArrayType(this.inner, this.width);