JiraWorkflow constructor

JiraWorkflow({
  1. String? description,
  2. String? id,
  3. bool? isEditable,
  4. String? name,
  5. WorkflowScope? scope,
  6. WorkflowLayout? startPointLayout,
  7. List<WorkflowReferenceStatus>? statuses,
  8. String? taskId,
  9. List<WorkflowTransitions>? transitions,
  10. List<ProjectIssueTypes>? usages,
  11. DocumentVersion? version,
})

Implementation

JiraWorkflow(
    {this.description,
    this.id,
    bool? isEditable,
    this.name,
    this.scope,
    this.startPointLayout,
    List<WorkflowReferenceStatus>? statuses,
    this.taskId,
    List<WorkflowTransitions>? transitions,
    List<ProjectIssueTypes>? usages,
    this.version})
    : isEditable = isEditable ?? false,
      statuses = statuses ?? [],
      transitions = transitions ?? [],
      usages = usages ?? [];