addFile method

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

Implementation

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