copyWith method

WorkflowCreateRequest copyWith({
  1. WorkflowScope? scope,
  2. List<WorkflowStatusUpdate>? statuses,
  3. List<WorkflowCreate>? workflows,
})

Implementation

WorkflowCreateRequest copyWith(
    {WorkflowScope? scope,
    List<WorkflowStatusUpdate>? statuses,
    List<WorkflowCreate>? workflows}) {
  return WorkflowCreateRequest(
    scope: scope ?? this.scope,
    statuses: statuses ?? this.statuses,
    workflows: workflows ?? this.workflows,
  );
}