ArchiveFile.noCompress constructor Null safety
Implementation
ArchiveFile.noCompress(this.name, this.size, dynamic content) {
name = name.replaceAll('\\', '/');
compress = false;
if (content is Uint8List) {
_content = content;
_rawContent = InputStream(_content);
} else if (content is InputStream) {
_rawContent = InputStream.from(content);
}
}