getAddedFeatures method

Future<FeatureQueryResult> getAddedFeatures()

Returns the features added 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 added since last sync. The value of the task result is a FeatureQueryResult object.

Implementation

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