PlaybookGroupStep class
A step made of other steps, like scene() and play(), whose results
nest under it in the report.
- Inheritance
-
- Object
- PlaybookStep
- PlaybookGroupStep
Constructors
-
PlaybookGroupStep(String title, Future<
List< group(PlaybookActor actor, PlaybookStepContext context), {List<PlaybookStepResult> >PlaybookStep> ? steps}) -
Creates a group step called
titlethat runsgroup.stepslists the steps it runs when they're known up front, like ascene()'s.
Properties
-
action
→ Future<
void> Function(PlaybookActor actor) -
Performs the step.
finalinherited
-
group
→ Future<
List< Function(PlaybookActor actor, PlaybookStepContext context)PlaybookStepResult> > -
Runs the nested steps and returns their results.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
steps
→ List<
PlaybookStep> ? -
The steps group runs, or null when they're only known once it runs,
like another playbook's.
final
- title → String
-
What the step does, shown in the caption and the report.
finalinherited
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