docs: @Nullable
    @WorkerThread
    private LottieComposition fetchFromCache() {
      Pair<FileExtension, InputStream> cacheResult = networkCache.fetch();
      if (cacheResult == null) {
        return null;
      }
  
      FileExtension extension = cacheResult.first;
      InputStream inputStream = cacheResult.second;
      LottieResult<LottieComposition> result;
      if (extension == FileExtension.ZIP) {
        result = LottieCompositionFactory.fromZipStreamSync(new ZipInputStream(inputStream), url);
      } else {
        result = LottieCompositionFactory.fromJsonInputStreamSync(inputStream, url);
      }
      if (result.getValue() != null) {
        return result.getValue();
      }
      return null;
    }