StepHandle class
An open step. Close it exactly once.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRecording → bool
-
Whether this handle points at a recorded step.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Finishes the step, defaulting an untouched step to Passed.
-
discard(
) → void - Drops an open step from the tree.
-
fail(
Object? error, [StackTrace? stack]) → void -
Marks the open step Failed with
error(andstackwhen caught separately). A child step that already carries the message keeps it, so fail text stays XOR along the tree. -
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