copyWith method

AppWorkflowTransitionRule copyWith({
  1. RuleConfiguration? configuration,
  2. String? id,
  3. String? key,
  4. WorkflowTransition? transition,
})

Implementation

AppWorkflowTransitionRule copyWith(
    {RuleConfiguration? configuration,
    String? id,
    String? key,
    WorkflowTransition? transition}) {
  return AppWorkflowTransitionRule(
    configuration: configuration ?? this.configuration,
    id: id ?? this.id,
    key: key ?? this.key,
    transition: transition ?? this.transition,
  );
}