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