copyWith method

WorkflowStatusUpdate copyWith({
  1. String? description,
  2. String? id,
  3. String? name,
  4. WorkflowStatusUpdateStatusCategory? statusCategory,
  5. String? statusReference,
})

Implementation

WorkflowStatusUpdate copyWith(
    {String? description,
    String? id,
    String? name,
    WorkflowStatusUpdateStatusCategory? statusCategory,
    String? statusReference}) {
  return WorkflowStatusUpdate(
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    statusCategory: statusCategory ?? this.statusCategory,
    statusReference: statusReference ?? this.statusReference,
  );
}