ArchiveFile.string constructor

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 = utf8.encode(content);
  _rawContent = InputStream(_content);
}