getShape method

List<int> getShape()

Gets the current shape. (returning a copy here to avoid unexpected modification.)

Implementation

List<int> getShape() => shape;