copyWith method

DefaultWorkflow copyWith({
  1. bool? updateDraftIfNeeded,
  2. String? workflow,
})

Implementation

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