CorruptionException constructor

const CorruptionException(
  1. String message, {
  2. String? path,
  3. int? offset,
  4. Object? cause,
})

Creates a corruption exception, optionally locating the damaged bytes.

Implementation

const CorruptionException(
  super.message, {
  this.path,
  this.offset,
  super.cause,
});