copyWith method
Implementation
DefaultWorkflow copyWith({bool? updateDraftIfNeeded, String? workflow}) {
return DefaultWorkflow(
updateDraftIfNeeded: updateDraftIfNeeded ?? this.updateDraftIfNeeded,
workflow: workflow ?? this.workflow,
);
}