StepView class

Constructors

StepView({Map<String, Object> args = const {}, bool? automatable, bool? available, List<String> blockedBy = const [], List<String> deps = const [], String? detail, String? draft, String? draftInto, bool? enabled, String? id, String? section, String? signal, String? source_, String? state, String? title, String? tool})
Returns a new StepView instance.

Properties

args ↔ Map<String, Object>
Args are the tool's default arguments, merged under whatever the caller passes at run time.
getter/setter pair
automatable ↔ bool?
Automatable is true when the Business AI can run this step (it names a tool).
getter/setter pair
available ↔ bool?
Available is true when every dependency is done or skipped.
getter/setter pair
blockedBy ↔ List<String>
BlockedBy lists the unfinished dependencies keeping the step unavailable.
getter/setter pair
deps ↔ List<String>
Dependencies are step ids that must be done/skipped before this step is available. The wire key is deps (the blueprint contract).
getter/setter pair
detail ↔ String?
Detail is the prose/juncture — what the Guide asks or explains here.
getter/setter pair
draft ↔ String?
Draft, when set, is the prompt the embedded AI answers first; its output is folded into one of Args before the tool runs.
getter/setter pair
draftInto ↔ String?
DraftInto names the argument the drafted text lands in. Empty means "brief".
getter/setter pair
enabled ↔ bool?
Enabled is the admin on/off lever; absent reads as enabled.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the step's id, as it appears in the journey (e.g. "gsuite").
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
section ↔ String?
Section is the phase (section id) this step groups under.
getter/setter pair
signal ↔ String?
Signal names the machine detector that auto-marks this step done.
getter/setter pair
source_ ↔ String?
Source records what marked the state: manual, auto (detected) or agent.
getter/setter pair
state ↔ String?
State is the step's per-org lifecycle state: todo|in_progress|done|skipped.
getter/setter pair
title ↔ String?
Title is the one-line quest as a person reads it in the checklist.
getter/setter pair
tool ↔ String?
Tool is the MCP tool the Business AI runs for "do it for me". A step naming none can only be completed by a person.
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) → StepView?
Returns a new StepView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<StepView>
mapFromJson(dynamic json) → Map<String, StepView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<StepView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.