Workflow class

Details about a workflow.

Constructors

Workflow({DateTime? created, required String description, bool? hasDraftWorkflow, required PublishedWorkflowId id, bool? isDefault, WorkflowOperations? operations, List<ProjectDetails>? projects, List<WorkflowSchemeIdName>? schemes, List<WorkflowStatus>? statuses, List<Transition>? transitions, DateTime? updated})
Workflow.fromJson(Map<String, Object?> json)
factory

Properties

created → DateTime?
The creation date of the workflow.
final
description → String
The description of the workflow.
final
hasDraftWorkflow → bool
Whether the workflow has a draft version.
final
hashCode → int
The hash code for this object.
no setterinherited
id → PublishedWorkflowId
final
isDefault → bool
Whether this is the default workflow.
final
operations → WorkflowOperations?
final
projects → List<ProjectDetails>
The projects the workflow is assigned to, through workflow schemes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemes → List<WorkflowSchemeIdName>
The workflow schemes the workflow is assigned to.
final
statuses → List<WorkflowStatus>
The statuses of the workflow.
final
transitions → List<Transition>
The transitions of the workflow.
final
updated → DateTime?
The last edited date of the workflow.
final

Methods

copyWith({DateTime? created, String? description, bool? hasDraftWorkflow, PublishedWorkflowId? id, bool? isDefault, WorkflowOperations? operations, List<ProjectDetails>? projects, List<WorkflowSchemeIdName>? schemes, List<WorkflowStatus>? statuses, List<Transition>? transitions, DateTime? updated}) → Workflow
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited