copyWith method
JiraWorkflow
copyWith({
- String? description,
- String? id,
- bool? isEditable,
- String? name,
- WorkflowScope? scope,
- WorkflowLayout? startPointLayout,
- List<
WorkflowReferenceStatus> ? statuses, - String? taskId,
- List<
WorkflowTransitions> ? transitions, - List<
ProjectIssueTypes> ? usages, - DocumentVersion? version,
Implementation
JiraWorkflow copyWith(
{String? description,
String? id,
bool? isEditable,
String? name,
WorkflowScope? scope,
WorkflowLayout? startPointLayout,
List<WorkflowReferenceStatus>? statuses,
String? taskId,
List<WorkflowTransitions>? transitions,
List<ProjectIssueTypes>? usages,
DocumentVersion? version}) {
return JiraWorkflow(
description: description ?? this.description,
id: id ?? this.id,
isEditable: isEditable ?? this.isEditable,
name: name ?? this.name,
scope: scope ?? this.scope,
startPointLayout: startPointLayout ?? this.startPointLayout,
statuses: statuses ?? this.statuses,
taskId: taskId ?? this.taskId,
transitions: transitions ?? this.transitions,
usages: usages ?? this.usages,
version: version ?? this.version,
);
}