verifyCrc32 method Null safety

bool verifyCrc32()

This will decompress the data (if necessary) in order to calculate the crc32 checksum for the decompressed data and verify it with the value stored in the zip.

Implementation

bool verifyCrc32() {
  _computedCrc32 ??= getCrc32(content);
  return _computedCrc32 == crc32;
}