fetchLicenseInfoCancelable method

CancelableOperation<LicenseInfo> fetchLicenseInfoCancelable()

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

Implementation

CancelableOperation<LicenseInfo> fetchLicenseInfoCancelable() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Portal_fetchLicenseInfoAsync(_handle, errorHandler);
  });
  return taskHandle
      .toCancelableOperation((element) => element.getValueAsLicenseInfo()!);
}