create method Null safety

void create(
  1. String zipPath,
  2. {int? level,
  3. DateTime? modified}
)

Implementation

void create(String zipPath, {int? level, DateTime? modified}) {
  this.zipPath = zipPath;

  _output = OutputFileStream(zipPath);
  _encoder = ZipEncoder();
  _encoder.startEncode(_output, level: level, modified: modified);
}