disposeGrid method

dynamic disposeGrid()

remove the grid from the scene

Implementation

disposeGrid() {
  if (_grid != null && scene != null) {
    scene!.remove(_grid);
    _grid = null;
  }
}