Artifact constructor

Artifact(
  1. int cols,
  2. int rows
)

Main constructor

Implementation

Artifact(this.cols, int rows) {
  _matrix = Uint8List(rows * cols);
}