ErrorEvent<T> class

ErrorEvent Event handler registered to ActiveController.addOnStateChangedListener

error the error received from the system stackTrace errorData any additional data passed to the ErrorEvent

Constructors

ErrorEvent(T error, {StackTrace? stackTrace, Map errorData = const {}})

Properties

error → T
final
errorData Map
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?
final

Methods

getErrorData<E>(dynamic key) → E?
If no values are passed to the errorData the data will be made to null we do this by checking if a key is available in the map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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