StepJson class

One flattened step on the wire.

Constructors

StepJson({required int id, required int? parentId, required String result, required Object? action, required Object? expectation, required List<Map<String, Object?>> attachments, required String? errorMessage, required String? comment})
Builds a wire step row.

Properties

action → Object?
ProseMirror document holding the step title.
final
attachments → List<Map<String, Object?>>
Attachment metadata; pending:… ids are rewritten before upload.
final
comment → String?
Comment text on this step, or null.
final
errorMessage → String?
Fail text on this step, or null.
final
expectation → Object?
ProseMirror document holding the expectation (empty today).
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
Step id, unique within the result.
final
parentId → int?
Parent step id, or null for a root step.
final
result → String
Passed / Failed / NotSet.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
toWire() → Map<String, Object?>
Renders the wire shape the results batch expects.

Operators

operator ==(Object other) → bool
The equality operator.
inherited