ArchiveFile.noCompress constructor

ArchiveFile.noCompress(
  1. String name,
  2. int size,
  3. dynamic content
)

Implementation

ArchiveFile.noCompress(this.name, this.size, dynamic content) {
  compress = false;
  if (content is List<int>) {
    _content = content;
    _rawContent = InputStream(_content);
  } else if (content is InputStream) {
    _rawContent = InputStream.from(content);
  }
}