TracesOptions class
Controls automatic trace generation. Mirrors TracesApi (Android) and
AppTracing (iOS).
Native-only: the web/Dart pipeline currently ignores these values.
Constructors
- TracesOptions({bool includeErrors = true, bool includeSpans = true})
-
Creates trace options; both kinds of automatic spans are on by default.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeErrors → bool
-
Whether to automatically record errors and exceptions as spans.
final
- includeSpans → bool
-
Whether to automatically record UI performance and other events as spans.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited