createDefaultSyncGeodatabaseParametersCancelable method
- {required Geodatabase geodatabase}
Cancelable version of createDefaultSyncGeodatabaseParameters. See that method for more information.
Implementation
CancelableOperation<SyncGeodatabaseParameters>
createDefaultSyncGeodatabaseParametersCancelable(
{required Geodatabase geodatabase}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_GeodatabaseSyncTask_createDefaultSyncGeodatabaseParametersAsync(
_handle, geodatabase._handle, errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsSyncGeodatabaseParameters()!);
}