Inflate.stream constructor Null safety

Inflate.stream(
  1. [InputStreamBase? input,
  2. dynamic outputStream]
)

Implementation

Inflate.stream([InputStreamBase? input, dynamic outputStream])
    : output = outputStream ?? OutputStream() {
  if (input != null) {
    this.input = input;
    inputSet = true;
  }
  _inflate();
}