MissionStatusMessage class

Frontend → Backend.

Constructors

MissionStatusMessage({required String missionId, required MissionStatus status, required DateTime timestamp, int? stepIndex, String? error, String? goal, int? stepsCompleted, int? stepsTotal, List<int>? stepsSkipped, List<int>? stepsFailed, String? requestedStableId, String? requestedText, String? actedStableId})
const
MissionStatusMessage.fromJson(Map<String, dynamic> json)
factory

Properties

actedStableId → String?
final
error → String?
Short failure description (set on failed, cancelled and step_failed).
final
goal → String?
The mission's human-readable goal, echoed on the started frame so the backend can narrate what it is beginning without re-joining against its own dispatch record.
final
hashCode → int
The hash code for this object.
no setterinherited
missionId → String
final
requestedStableId → String?
Failure frames: what the failed step asked for vs what it acted on (mirrors verification_result; additive, omitted when null).
final
requestedText → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → MissionStatus
final
stepIndex → int?
Index of the step this event refers to.
final
stepsCompleted → int?
Terminal frames only (additive keys): how many steps verified (stepsCompleted), how many the mission had (stepsTotal), the indexes that never ran after a failure / cancel (stepsSkipped) and, under continue_on_failure, the indexes that failed (stepsFailed).
final
stepsFailed → List<int>?
final
stepsSkipped → List<int>?
final
stepsTotal → int?
final
timestamp → DateTime
final
type → String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

kType → const String