Narrative class

A helper class that formats a BDD story structure into a human-readable text report.

Iterates through the collected story data nodes, matching each step to its traditional BDD keyword while applying layout indentation and runtime execution statuses.

Constructors

Narrative(List<StoryStepData> steps)
Creates a text report generator from a static list of story steps.

Properties

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<StoryStepData>
final

Methods

narrativeText() String
Compiles all tracked story elements into a single formatted text block.
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