BotRun class

Constructors

BotRun({String? runId, String? sessionUrl, String? startedAt, String? status, String? surface, String? task})
Returns a new BotRun instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
runId ↔ String?
RunID is the run's id in the bot runtime, and the node id its live VNC session is registered under.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionUrl ↔ String?
SessionURL is the live session the hanzo.app /vnc panel embeds to watch or attach to this run. Derived here from the run id, never sent by the runtime.
getter/setter pair
startedAt ↔ String?
StartedAt is when the run began, RFC 3339, as the runtime stamped it.
getter/setter pair
status ↔ String?
Status is the run's state as the runtime reports it; "running" when the runtime names none of its own.
getter/setter pair
surface ↔ String?
Surface is what the bot drives: the desktop or terminal sandbox it runs in.
getter/setter pair
task ↔ String?
Task is the instruction the bot is executing.
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) → BotRun?
Returns a new BotRun instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BotRun>
mapFromJson(dynamic json) → Map<String, BotRun>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BotRun>>

Constants

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