ArchiveFile.stream constructor Null safety

ArchiveFile.stream(
  1. String name,
  2. int size,
  3. InputStreamBase contentStream
)

Implementation

ArchiveFile.stream(this.name, this.size, InputStreamBase contentStream) {
  // Paths can only have / path separators
  name = name.replaceAll('\\', '/');
  compress = true;
  _content = contentStream;
  //_rawContent = content_stream;
  _compressionType = STORE;
}