startEncode method Null safety

void startEncode(
  1. OutputStreamBase? output,
  2. {int? level = Deflate.BEST_SPEED,
  3. DateTime? modified}
)

Implementation

void startEncode(OutputStreamBase? output,
    {int? level = Deflate.BEST_SPEED, DateTime? modified}) {
  _data = _ZipEncoderData(level, modified);
  _output = output;
}