deleteFeature method
- Feature feature
Deletes a feature from the table.
Deleting a feature from a GeodatabaseFeatureTable in a stand-alone mobile geodatabase created with ArcGIS Pro is not supported when the table participates in a controller dataset, such as a utility network or parcel fabric. Use FeatureTable.canDelete to determine if this operation is allowed.
Parameters:
feature
— The feature.
Return Value: A Future that has no return value.
Implementation
Future<void> deleteFeature(
Feature feature,
) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_FeatureTable_deleteFeature(
_handle,
feature._handle,
errorHandler,
);
});
return taskHandle.toFuture(
(_) {},
);
}