createDefaultOfflineMapSyncParametersCancelable method

CancelableOperation<OfflineMapSyncParameters> createDefaultOfflineMapSyncParametersCancelable()

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

Implementation

CancelableOperation<OfflineMapSyncParameters>
    createDefaultOfflineMapSyncParametersCancelable() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_OfflineMapSyncTask_createDefaultOfflineMapSyncParametersAsync(
            _handle, errorHandler);
  });
  return taskHandle.toCancelableOperation(
      (element) => element.getValueAsOfflineMapSyncParameters()!);
}