checkForUpdatesCancelable method

CancelableOperation<OfflineMapUpdatesInfo> checkForUpdatesCancelable()

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

Implementation

CancelableOperation<OfflineMapUpdatesInfo> checkForUpdatesCancelable() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_OfflineMapSyncTask_checkForUpdatesAsync(
        _handle, errorHandler);
  });
  return taskHandle.toCancelableOperation(
      (element) => element.getValueAsOfflineMapUpdatesInfo()!);
}