# getLotlUrl method

String? getLotlUrl()

Gets the the URL to the LoTL (List of Trust List).

return The URL to the LoTL (List of Trust List). throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    String? getLotlUrl() {
      Pointer<Char> pLotlUrl = nullptr;
      Pointer<Int> pLotlUrlSize = calloc.allocate(1);
      pLotlUrlSize[0] = -1;
      try {
        var err = biosealSDK.id3Bioseal_GetLotlUrl(_pHandle.value, pLotlUrl, pLotlUrlSize);
        if (err == BiosealError.objectDoesNotExist.value) {
          return null;
        }
        if (err == BiosealError.insufficientBuffer.value) {
          pLotlUrl = calloc.allocate(pLotlUrlSize.value);
          err = biosealSDK.id3Bioseal_GetLotlUrl(_pHandle.value, pLotlUrl, pLotlUrlSize);
          if (err != BiosealError.success.value) {
            throw BiosealException(err);
          }
        }
        final vLotlUrl = utf8.decode(Uint8List.fromList(pLotlUrl.cast<Uint8>().asTypedList(pLotlUrlSize.value)));
        return vLotlUrl;
      } finally {
        calloc.free(pLotlUrl);
        calloc.free(pLotlUrlSize);
      }
    }