setManifestUrl method

void setManifestUrl(
  1. String? manifestUrl
)

Sets the the URL to the manifest.

param manifestUrl The URL to the manifest. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

void setManifestUrl(String? manifestUrl) {
  Pointer<Char>? pManifestUrl = manifestUrl?.toNativeUtf8().cast<Char>();
  try {
    var err = biosealSDK.id3Bioseal_SetManifestUrl(_pHandle.value, pManifestUrl ?? nullptr);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
  } finally {
    if (pManifestUrl != null) {
      calloc.free(pManifestUrl);
    }
  }
}