WorkflowExecution constructor
const
WorkflowExecution({
- required String workflowExecutionId,
- required String workflowId,
- ExecutionStatus status = const Pending(),
- int currentStep = 0,
- String? inputData,
- String? outputData,
- String? errorMessage,
- String? ttlExpiresAt,
- WorkflowGuarantee guarantee = WorkflowGuarantee.foregroundOnly,
- required String createdAt,
- required String updatedAt,
Creates a WorkflowExecution.
Implementation
const WorkflowExecution({
required this.workflowExecutionId,
required this.workflowId,
this.status = const Pending(),
this.currentStep = 0,
this.inputData,
this.outputData,
this.errorMessage,
this.ttlExpiresAt,
this.guarantee = WorkflowGuarantee.foregroundOnly,
required this.createdAt,
required this.updatedAt,
});