Breadcrumb class
Structed data to describe more information pior to the event Sentry.captureEvent.
The outgoing JSON representation is:
{
"timestamp": 1000
"message": "message",
"category": "category",
"data": {"key": "value"},
"level": "info",
"type": "default"
}
See also:
- Annotations
-
- @immutable
Constructors
-
Breadcrumb({String? message, DateTime? timestamp, String? category, Map<
String, dynamic> ? data, SentryLevel? level, String? type}) - Creates a breadcrumb that can be attached to an Event.
Properties
- category → String?
-
A dot-separated string describing the source of the breadcrumb, e.g. "ui.click".
final
-
data
→ Map<
String, dynamic> ? -
Data associated with the breadcrumb.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → SentryLevel?
-
Severity of the breadcrumb.
final
- message → String?
-
Describes the breadcrumb.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
The time the breadcrumb was recorded.
final
- type → String?
-
Describes what type of breadcrumb this is.
final
Methods
-
copyWith(
{String? message, String? category, Map< String, dynamic> ? data, SentryLevel? level, String? type, DateTime? timestamp}) → Breadcrumb -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this breadcrumb to a map that can be serialized to JSON according to the Sentry protocol.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited