SentryMeasurement class
Constructors
- SentryMeasurement(String name, num value, {SentryMeasurementUnit? unit})
- SentryMeasurement.coldAppStart(Duration duration)
- Duration of the Cold App start in milliseconds
- SentryMeasurement.frozenFrames(num value)
- Amount of frozen frames drawn during a transaction. Typically defined as frames slower than 500ms.
- SentryMeasurement.slowFrames(num value)
- Amount of slow frames drawn during a transaction. A slow frame is any frame longer than 1s / refreshrate. So for example any frame slower than 16ms for a refresh rate of 60hz.
- SentryMeasurement.timeToFullDisplay(Duration duration)
- Duration of the time to full display in milliseconds
- SentryMeasurement.timeToInitialDisplay(Duration duration)
- Duration of the time to initial display in milliseconds
- SentryMeasurement.totalFrames(num value)
- Amount of frames drawn during a transaction
- SentryMeasurement.warmAppStart(Duration duration)
- Duration of the Warm App start in milliseconds
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unit → SentryMeasurementUnit?
-
final
- value → num
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited