endEncode method Null safety

void endEncode(
  1. {String? comment = ''}
)

Implementation

void endEncode({String? comment = ''}) {
  // Write Central Directory and End Of Central Directory
  _writeCentralDirectory(_data.files, comment, _output!);
  if (_output is OutputStreamBase) {
    _output!.flush();
  }
}