content property

dynamic content

Get the content of the file, decompressing on demand as necessary.

Implementation

dynamic get content {
  if (_content is FileContent) {
    _content = _content.content;
  }
  if (_content == null) {
    decompress();
  }
  return _content;
}