ErrorEvent constructor

const ErrorEvent(
  1. Exception? exception,
  2. StackTrace? stackTrace, {
  3. ErrorGravity gravity = ErrorGravity.fatal,
  4. String description = "",
})

Event that indicates that an error happened.

Implementation

const ErrorEvent(this.exception, this.stackTrace, {this.gravity = ErrorGravity.fatal, super.description});