toArchiveFile method

ArchiveFile toArchiveFile({
  1. required String name,
})

archive file

Implementation

ArchiveFile toArchiveFile({
  required String name,
}) {
  return ArchiveFile.stream(name, statSync().size, InputFileStream(path));
}