WorkflowExecution constructor

const WorkflowExecution({
  1. required String workflowExecutionId,
  2. required String workflowId,
  3. ExecutionStatus status = const Pending(),
  4. int currentStep = 0,
  5. String? inputData,
  6. String? outputData,
  7. String? errorMessage,
  8. String? ttlExpiresAt,
  9. WorkflowGuarantee guarantee = WorkflowGuarantee.foregroundOnly,
  10. required String createdAt,
  11. 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,
});