fromPath static method
Future<ArchiveFetcher?>
fromPath(
- String path, {
- ArchiveFactory archiveFactory = const DefaultArchiveFactory(),
Implementation
static Future<ArchiveFetcher?> fromPath(String path,
{ArchiveFactory archiveFactory = const DefaultArchiveFactory()}) =>
waitTryOrNull(() async => await archiveFactory
.open(File(path), null)
.then((archive) => archive?.let((it) => ArchiveFetcher(it))));