SentryDisplay class

Represents the current route and allows to report the time to full display.

Make sure to get this before you do long running operations after which you want to report the time to full display in your widget.

final display = SentryFlutter.currentDisplay();

// Do long running operations...

await display.reportFullyDisplayed();

Constructors

SentryDisplay(SpanId spanId, {Hub? hub})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spanId SpanId
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportFullyDisplayed() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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