Grid<T> constructor
Creates a new grid with the given width
and height
.
The grid is filled with fill
by default.
The width
and height
must be non-negative.
Implementation
factory Grid(int width, int height, T fill) = ListGrid<T>;