AgentTask class

TODO(b/182501497) The message needs to be redefined when the Agent API server updates data in storage per the backend design.

Constructors

AgentTask({AgentTaskSpec? agentTaskSpec, String? intendedState, String? reachedBarrier, TaskSpec? spec, TaskStatus? status, String? task, String? taskSource})
AgentTask.fromJson(Map json_)

Properties

agentTaskSpec ↔ AgentTaskSpec?
AgentTaskSpec is the taskSpec representation between Agent and CLH communication.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
intendedState ↔ String?
The intended state of the task. Possible string values are:
getter/setter pair
reachedBarrier ↔ String?
The highest barrier reached by all tasks in the task's TaskGroup.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec ↔ TaskSpec?
Task Spec.
getter/setter pair
status ↔ TaskStatus?
Task status.
getter/setter pair
task ↔ String?
Task name.
getter/setter pair
taskSource ↔ String?
TaskSource represents the source of the task. Possible string values are:
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.
inherited

Operators

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