createGenerateOfflineMapParameterOverridesCancelable method

CancelableOperation<GenerateOfflineMapParameterOverrides> createGenerateOfflineMapParameterOverridesCancelable(
  1. {required GenerateOfflineMapParameters parameters}
)

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

Implementation

CancelableOperation<GenerateOfflineMapParameterOverrides>
    createGenerateOfflineMapParameterOverridesCancelable(
        {required GenerateOfflineMapParameters parameters}) {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_OfflineMapTask_createGenerateOfflineMapParameterOverridesAsync(
            _handle, parameters._handle, errorHandler);
  });
  return taskHandle.toCancelableOperation(
      (element) => element.getValueAsGenerateOfflineMapParameterOverrides()!);
}