PlaybookStepResult class
What happened in one step of a playbook run.
Constructors
-
PlaybookStepResult({required String title, required PlaybookStepStatus status, Duration elapsed = Duration.zero, String? error, List<
String> visibleText = const [], List<PlaybookStepResult> steps = const []}) -
Creates a PlaybookStepResult.
const
Properties
- elapsed → Duration
-
How long the step took.
final
- error → String?
-
Why the step failed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- passed → bool
-
Whether the step passed.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PlaybookStepStatus
-
How the step ended.
final
-
steps
→ List<
PlaybookStepResult> -
The steps inside a
scene()orplay()step.final - title → String
-
The step's title, e.g.
Tap "Create account".final -
visibleText
→ List<
String> -
The text on screen when the step failed, to help see why.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - The result as JSON, as sent to Metro.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited