Deflate.buffer constructor Null safety

Deflate.buffer(
  1. InputStreamBase _input,
  2. {int? level = DEFAULT_COMPRESSION,
  3. int flush = FINISH,
  4. dynamic output}
)

Implementation

Deflate.buffer(this._input,
    {int? level = DEFAULT_COMPRESSION, int flush = FINISH, dynamic output})
    : _output = output ?? OutputStream() {
  _init(level);
  _deflate(flush);
}