copyWith method
WorkflowScheme
copyWith({
- String? defaultWorkflow,
- String? description,
- bool? draft,
- int? id,
- Map<
String, dynamic> ? issueTypeMappings, - Map<
String, dynamic> ? issueTypes, - String? lastModified,
- User? lastModifiedUser,
- String? name,
- String? originalDefaultWorkflow,
- Map<
String, dynamic> ? originalIssueTypeMappings, - String? self,
- bool? updateDraftIfNeeded,
Implementation
WorkflowScheme copyWith(
{String? defaultWorkflow,
String? description,
bool? draft,
int? id,
Map<String, dynamic>? issueTypeMappings,
Map<String, dynamic>? issueTypes,
String? lastModified,
User? lastModifiedUser,
String? name,
String? originalDefaultWorkflow,
Map<String, dynamic>? originalIssueTypeMappings,
String? self,
bool? updateDraftIfNeeded}) {
return WorkflowScheme(
defaultWorkflow: defaultWorkflow ?? this.defaultWorkflow,
description: description ?? this.description,
draft: draft ?? this.draft,
id: id ?? this.id,
issueTypeMappings: issueTypeMappings ?? this.issueTypeMappings,
issueTypes: issueTypes ?? this.issueTypes,
lastModified: lastModified ?? this.lastModified,
lastModifiedUser: lastModifiedUser ?? this.lastModifiedUser,
name: name ?? this.name,
originalDefaultWorkflow:
originalDefaultWorkflow ?? this.originalDefaultWorkflow,
originalIssueTypeMappings:
originalIssueTypeMappings ?? this.originalIssueTypeMappings,
self: self ?? this.self,
updateDraftIfNeeded: updateDraftIfNeeded ?? this.updateDraftIfNeeded,
);
}