getHasPrefix method

bool getHasPrefix()

Gets the prefix is present.

return Prefix is present. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

bool getHasPrefix() {
  Pointer<Bool> pHasPrefix = calloc();
  try {
    var err = biosealSDK.id3Bioseal_GetHasPrefix(_pHandle.value, pHasPrefix);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vHasPrefix = pHasPrefix.value;
    return vHasPrefix;
  } finally {
    calloc.free(pHasPrefix);
  }
}