getDeletedFeatures method

Future<FeatureQueryResult> getDeletedFeatures()

Returns the features deleted since the last sync.

For mobile geodatabases created by ArcGIS Pro, this method returns no features because there is no concept of syncing.

Return Value: The task object representing the asynchronous retrieval of features deleted since last sync. The value of the task result is a FeatureQueryResult object.

Implementation

Future<FeatureQueryResult> getDeletedFeatures() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeatureTable_getDeletedFeatures(
        _handle, errorHandler);
  });
  return taskHandle
      .toFuture((element) => element.getValueAsFeatureQueryResult()!);
}