Clears the grid, setting all elements to empty.
If bounds is provided, only the elements within the bounds are cleared.
bounds
void clear([Rect? bounds]) => fill(empty, bounds);