ControlResult class
Constructors
- ControlResult({String? command, EventView? event, bool? forwarded})
- Returns a new ControlResult instance.
Properties
- command ↔ String?
-
Command is the verb that was recorded: pause, resume, stop or message.
getter/setter pair
- event ↔ EventView?
-
Event is the durable control event the command became. The intent is recorded whether or not it reached an engine, which is what makes a stream-consuming surface able to act on it.
getter/setter pair
- forwarded ↔ bool?
-
Forwarded is whether the command also reached the durable-execution engine. FALSE IS NOT A FAILURE: a session with no workflow link, or a deployment with no tasks backend, is record-only by design. A forward that was attempted and failed is a 502, never a false here.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
-
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) → ControlResult? -
Returns a new ControlResult instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ControlResult> -
mapFromJson(
dynamic json) → Map< String, ControlResult> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ControlResult> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.