deleteFeatures method

Future<void> deleteFeatures(
  1. List<Feature> features
)

Deletes a collection of features from the table.

Parameters:

Return Value: A Future that has no return value.

Implementation

Future<void> deleteFeatures(
  List<Feature> features,
) {
  final coreFeatures = features.toMutableArray(
    valueType: _ElementType.feature,
  );
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FeatureTable_deleteFeatures(
      _handle,
      coreFeatures._handle,
      errorHandler,
    );
  });
  return taskHandle.toFuture(
    (_) {},
  );
}