Breadcrumb class
Represents a single chronological diagnostic breadcrumb leading up to an incident.
- Implementers
Constructors
-
Breadcrumb({required int sequenceOrder, required DateTime timestamp, required String category, required String action, required String target, required Map<
String, dynamic> data}) -
Creates a immutable Breadcrumb entity.
const
Properties
- action → String
-
Specific action triggered (e.g., 'push', 'GET', 'tap').
final
- category → String
-
Breadcrumb category (e.g., 'navigation', 'network.http', 'ui.tap').
final
-
data
→ Map<
String, dynamic> -
Key-value metadata contextualizing the event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequenceOrder → int
-
Sequential index of the breadcrumb in the active session.
final
- target → String
-
Target component, endpoint, or route affected.
final
- timestamp → DateTime
-
UTC timestamp of when the event occurred.
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