copyWith method

WorkflowRulesSearchDetails copyWith({
  1. List<String>? invalidRules,
  2. List<WorkflowTransitionRules>? validRules,
  3. String? workflowEntityId,
})

Implementation

WorkflowRulesSearchDetails copyWith(
    {List<String>? invalidRules,
    List<WorkflowTransitionRules>? validRules,
    String? workflowEntityId}) {
  return WorkflowRulesSearchDetails(
    invalidRules: invalidRules ?? this.invalidRules,
    validRules: validRules ?? this.validRules,
    workflowEntityId: workflowEntityId ?? this.workflowEntityId,
  );
}