toArchiveFile method

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

Implementation

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