close method

void close()

Closes the shapefile feature table.

Before you close a shapefile feature table you should remove all references to the data it contains, such as removing the feature layer from a map and releasing the shapefile feature table. Attempts to access a shapefile feature table after it is closed will fail, resulting in an error.

After closing a shapefile feature table, the underlying files it references can be deleted or moved.

Implementation

void close() {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ShapefileFeatureTable_close(
      _handle,
      errorHandler,
    );
  });
}