getLocalEditsCount method

Future<int> getLocalEditsCount()

Returns the number of features that were added, updated or deleted since the last sync.

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

Return Value: The number of features edited since the last sync.

Implementation

Future<int> getLocalEditsCount() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeatureTable_getLocalEditsCount(
      _handle,
      errorHandler,
    );
  });
  return taskHandle.toFuture(
    (element) => element.getValueAsInt()!,
  );
}