endEncode method

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

Implementation

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