TrackedError class

Data object that represents a TrackedError, mostly used for events

Constructors

TrackedError({required Object error, required StackTrace stackTrace, BlocEventType? associatedEvent, String? message})
Data object that represents a TrackedError, mostly used for events

Properties

associatedEvent BlocEventType?
The associated event that was being responded to when the error occurred.
final
error Object
The error that was initially caught
final
hashCode int
The hash code for this object.
no setterinherited
message String?
A custom message related to the error
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
The associated stackTrace when the exception was caught.
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