getIsTsl method

bool getIsTsl()

Gets the true if the LoTL is a TLS.

return True if the LoTL is a TLS. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

bool getIsTsl() {
  Pointer<Bool> pIsTsl = calloc();
  try {
    var err = biosealSDK.id3BiosealLotl_GetIsTsl(_pHandle.value, pIsTsl);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vIsTsl = pIsTsl.value;
    return vIsTsl;
  } finally {
    calloc.free(pIsTsl);
  }
}