createDefaultParametersCancelable method
Cancelable version of createDefaultParameters. See that method for more information.
Implementation
CancelableOperation<ServiceAreaParameters>
createDefaultParametersCancelable() {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ServiceAreaTask_createDefaultParametersAsync(
_handle, errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsServiceAreaParameters()!);
}