ArchiveFile.string constructor Null safety

ArchiveFile.string(
  1. String name,
  2. String content,
  3. [int? _compressionType = STORE]
)

Implementation

ArchiveFile.string(this.name, String content,
    [this._compressionType = STORE]) {
  size = content.length;
  _content = Uint8List.fromList(content.codeUnits);
  _rawContent = InputStream(_content);
}