ErrorEvent class

Event that indicates that an error happened.

Inheritance

Constructors

ErrorEvent(Exception? exception, StackTrace? stackTrace, {ErrorGravity gravity = ErrorGravity.fatal, String description = ""})
Event that indicates that an error happened.
const

Properties

description → String
Optional description of the event.
finalinherited
exception → Exception?
Exception that occured.
final
gravity → ErrorGravity
Gravity of the error.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
StackTrace of the exception.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited