Breadcrumb class

A compact, typed breadcrumb. Keep payload small; for large blobs prefer attachments or context providers.

Constructors

Creates a breadcrumb entry with the given timestamp, message, and metadata.
const
Rehydrates a breadcrumb from its serialized map form.
factory

Properties

data → Map<String, dynamic>
Optional structured metadata associated with the breadcrumb.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable diagnostic message.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
Moment in time when the breadcrumb was recorded.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Serializes the breadcrumb back to a JSON-friendly map.
toString() → String
A string representation of this object.
inherited

Operators

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