unregisterGeodatabaseWithSyncIdCancelable method

CancelableOperation<void> unregisterGeodatabaseWithSyncIdCancelable(
  1. {required Guid syncId}
)

Cancelable version of unregisterGeodatabaseWithSyncId. See that method for more information.

Implementation

CancelableOperation<void> unregisterGeodatabaseWithSyncIdCancelable(
    {required Guid syncId}) {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_GeodatabaseSyncTask_unregisterGeodatabaseWithSyncIdAsync(
            _handle, syncId._handle, errorHandler);
  });
  return taskHandle.toCancelableOperation((_) {});
}