copyWith method

WorkflowUpdateRequest copyWith({
  1. List<WorkflowStatusUpdate>? statuses,
  2. List<WorkflowUpdate>? workflows,
})

Implementation

WorkflowUpdateRequest copyWith(
    {List<WorkflowStatusUpdate>? statuses, List<WorkflowUpdate>? workflows}) {
  return WorkflowUpdateRequest(
    statuses: statuses ?? this.statuses,
    workflows: workflows ?? this.workflows,
  );
}