decompress method Null safety

void decompress ()

If the file data is compressed, decompress it.

Implementation

void decompress() {
  if (_content == null && _rawContent != null) {
    if (_compressionType == DEFLATE) {
      _content = Inflate.buffer(_rawContent, size).getBytes();
    } else {
      _content = _rawContent.toUint8List();
    }
    _compressionType = STORE;
  }
}