WorkflowStep constructor

WorkflowStep({
  1. required String id,
  2. required String name,
  3. required WorkflowStepType type,
  4. required Map<String, dynamic> parameters,
  5. List<String>? nextSteps,
  6. List<String>? onSuccess,
  7. List<String>? onFailure,
  8. int? timeout,
  9. String? description,
  10. bool? isOptional,
  11. Map<String, dynamic>? inputMapping,
  12. Map<String, dynamic>? outputMapping,
  13. Map<String, String>? metadata,
  14. List<String>? tags,
})

Implementation

WorkflowStep({
  required this.id,
  required this.name,
  required this.type,
  required this.parameters,
  this.nextSteps,
  this.onSuccess,
  this.onFailure,
  this.timeout,
  this.description,
  this.isOptional,
  this.inputMapping,
  this.outputMapping,
  this.metadata,
  this.tags,
});