ActivityTask.fromJson constructor
ActivityTask.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ActivityTask.fromJson(Map<String, dynamic> json) {
return ActivityTask(
activityId: json['activityId'] as String,
activityType:
ActivityType.fromJson(json['activityType'] as Map<String, dynamic>),
startedEventId: json['startedEventId'] as int,
taskToken: json['taskToken'] as String,
workflowExecution: WorkflowExecution.fromJson(
json['workflowExecution'] as Map<String, dynamic>),
input: json['input'] as String?,
);
}