entry method

Implementation

Future<ResourceTry<ArchiveEntry>> entry() async {
  if (_entry == null) {
    try {
      ArchiveEntry entry =
          await _archive.entry(_originalLink.href.removePrefix("/"));
      _entry = ResourceTry.success(entry);
    } on Exception {
      _entry = ResourceTry.failure(ResourceException.notFound);
    }
  }
  return _entry!;
}