RouteObserverBreadcrumb class

This class makes it easier to record breadcrumbs for events of Flutters NavigationObserver by accepting RouteSettings.

See also:

Inheritance

Constructors

RouteObserverBreadcrumb({required String navigationType, RouteSettings? from, RouteSettings? to, SentryLevel? level, DateTime? timestamp, Map<String, dynamic>? data})
factory

Properties

category String?
A dot-separated string describing the source of the breadcrumb, e.g. "ui.click".
finalinherited
data Map<String, dynamic>?
Data associated with the breadcrumb.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
level SentryLevel?
Severity of the breadcrumb.
finalinherited
message String?
Describes the breadcrumb.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
The time the breadcrumb was recorded.
finalinherited
type String?
Describes what type of breadcrumb this is.
finalinherited

Methods

copyWith({String? message, String? category, Map<String, dynamic>? data, SentryLevel? level, String? type, DateTime? timestamp}) Breadcrumb
inherited
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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