getLocalEdits method
Returns all the features that were added, updated or deleted since the last sync.
Returns a result object containing a feature edit iterator. For mobile geodatabase created by ArcGIS Pro, the iterator in the result object is empty because there is no concept of syncing.
Note that edits inside a transaction (between calls to Geodatabase.beginTransaction and either Geodatabase.commitTransaction or Geodatabase.rollbackTransaction) share a common LocalFeatureEdit.editDateTime and may not be returned in a consistent order.
Return Value: A LocalFeatureEditsResult
containing an Iterable of
LocalFeatureEdit objects.
Implementation
Future<LocalFeatureEditsResult> getLocalEdits() {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISFeatureTable_getLocalEdits(
_handle, errorHandler);
});
return taskHandle
.toFuture((element) => element.getValueAsLocalFeatureEditsResult()!);
}