CreateWorkflowDetails class

The details of a workflow.

Constructors

CreateWorkflowDetails({String? description, required String name, required List<CreateWorkflowStatusDetails> statuses, required List<CreateWorkflowTransitionDetails> transitions})
CreateWorkflowDetails.fromJson(Map<String, Object?> json)
factory

Properties

description String?
The description of the workflow. The maximum length is 1000 characters.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the workflow. The name must be unique. The maximum length is 255 characters. Characters can be separated by a whitespace but the name cannot start or end with a whitespace.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statuses List<CreateWorkflowStatusDetails>
The statuses of the workflow. Any status that does not include a transition is added to the workflow without a transition.
final
transitions List<CreateWorkflowTransitionDetails>
The transitions of the workflow. For the request to be valid, these transitions must:
final

Methods

copyWith({String? description, String? name, List<CreateWorkflowStatusDetails>? statuses, List<CreateWorkflowTransitionDetails>? transitions}) CreateWorkflowDetails
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