entry method

  1. @override
Future<ArchiveEntry> entry(
  1. String path
)
override

Gets the entry at the given path.

Implementation

@override
Future<ArchiveEntry> entry(String path) async {
  ZipLocalFile? entry = archive.entries[path];
  if (entry == null) {
    throw Exception("No file entry at path $path.");
  }
  return ZipEntry(archive, entry);
}