destroyGrid method

Future<void> destroyGrid()

Destroy the native grid and release resources.

Implementation

Future<void> destroyGrid() async {
  if (!isCreated) return;
  await VolvoxGridService.Destroy(_destroyRequest);
  _gridId = Int64.ZERO;
}