ActivityTask class

Unit of work sent to an activity worker.

Constructors

ActivityTask({required String activityId, required ActivityType activityType, required int startedEventId, required String taskToken, required WorkflowExecution workflowExecution, String? input})
ActivityTask.fromJson(Map<String, dynamic> json)
factory

Properties

activityId String
The unique ID of the task.
final
activityType ActivityType
The type of this activity task.
final
hashCode int
The hash code for this object.
no setterinherited
input String?
The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedEventId int
The ID of the ActivityTaskStarted event recorded in the history.
final
taskToken String
The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.
final
workflowExecution WorkflowExecution
The workflow execution that started this activity task.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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