ObservationOptions class
Options for TestExecutionSession.observe.
Constructors
- ObservationOptions({ObservationDetailLevel detail = ObservationDetailLevel.standard, ObservationSynchronization synchronization = ObservationSynchronization.untilStable, Duration? stableTimeout, bool includeScreenshot = false, bool includeBounds = true, bool allowPartial = false, bool keyedOnly = false})
-
const
-
ObservationOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allowPartial → bool
-
final
- detail → ObservationDetailLevel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeBounds → bool
-
final
- includeScreenshot → bool
-
final
- keyedOnly → bool
-
When true, only elements with a qualifying ValueKey string id are
collected — used as a performance baseline for unified observation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stableTimeout → Duration?
-
final
- synchronization → ObservationSynchronization
-
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