addFile method

void addFile({
  1. required FileSystemEntity fileSystemEntity,
  2. required String name,
})

add any file

Implementation

void addFile({
  required FileSystemEntity fileSystemEntity,
  required String name,
}) {
  archive.addFile(fileSystemEntity.toArchiveFile(
    name: name,
  ));
  return;
}