toArchiveFile method

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

archive file

Implementation

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