StepObserverArtifact class
Observe snapshot for a step (nested element tree + HTML overlay percents).
elements is a parent→child tree (not a flat list). No second screenshot — overlays are drawn on that step's frame in the HTML report.
Constructors
-
StepObserverArtifact({required int stepIndex, required List<
Map< elements, required Map<String, dynamic> >String, dynamic> observationJson, Map<String, dynamic> ? viewport, List<Map< overlays = const [], String? screen, String? deviceId, String? deviceLabel, String? platform, String? model})String, dynamic> >
Properties
- deviceId → String?
-
final
- deviceLabel → String?
-
final
-
elements
→ List<
Map< String, dynamic> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String?
-
final
-
observationJson
→ Map<
String, dynamic> -
final
-
overlays
→ List<
Map< String, dynamic> > -
final
- platform → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → String?
-
final
- stepIndex → int
-
final
-
viewport
→ Map<
String, dynamic> ? -
final
Methods
-
dispose(
) → void -
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