MissionStep class
One mission step — a unit of work under budget and policy.
Constructors
- MissionStep({required String id, required String command, required String phase, String? description, int? timeoutSeconds})
-
const
-
MissionStep.fromJson(Map<
String, Object?> json) -
factory
Properties
- command → String
-
Whitespace-tokenized command; executed WITHOUT a shell; the first
token must be in the session allowlist.
final
- description → String?
-
final
- executable → String
-
The executable token — what the allowlist gates on.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- phase → String
-
red|green|refactor|verify— drives the discipline verdict.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutSeconds → int?
-
1..600 seconds; the host default applies when null.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited