Workflow constructor
Workflow({
- WorkflowLinks? links,
- DateTime? createdAt,
- String? description,
- WorkflowState? end,
- String? id,
- required String name,
- WorkflowState? start,
- List<
WorkflowState> ? states = const [], - List<
WorkflowTransition> ? transitions = const [], - String? type,
- DateTime? updatedAt,
Returns a new Workflow instance.
Implementation
Workflow({
this.links,
this.createdAt,
this.description,
this.end,
this.id,
required this.name,
this.start,
this.states = const [],
this.transitions = const [],
this.type,
this.updatedAt,
});