copyWith method
WorkflowTransitions
copyWith({
- List<
WorkflowRuleConfiguration> ? actions, - ConditionGroupConfiguration? conditions,
- String? customIssueEventId,
- String? description,
- List<
WorkflowStatusAndPort> ? from, - String? id,
- String? name,
- Map<
String, dynamic> ? properties, - WorkflowStatusAndPort? to,
- WorkflowRuleConfiguration? transitionScreen,
- List<
WorkflowTrigger> ? triggers, - WorkflowTransitionsType? type,
- List<
WorkflowRuleConfiguration> ? validators,
Implementation
WorkflowTransitions copyWith(
{List<WorkflowRuleConfiguration>? actions,
ConditionGroupConfiguration? conditions,
String? customIssueEventId,
String? description,
List<WorkflowStatusAndPort>? from,
String? id,
String? name,
Map<String, dynamic>? properties,
WorkflowStatusAndPort? to,
WorkflowRuleConfiguration? transitionScreen,
List<WorkflowTrigger>? triggers,
WorkflowTransitionsType? type,
List<WorkflowRuleConfiguration>? validators}) {
return WorkflowTransitions(
actions: actions ?? this.actions,
conditions: conditions ?? this.conditions,
customIssueEventId: customIssueEventId ?? this.customIssueEventId,
description: description ?? this.description,
from: from ?? this.from,
id: id ?? this.id,
name: name ?? this.name,
properties: properties ?? this.properties,
to: to ?? this.to,
transitionScreen: transitionScreen ?? this.transitionScreen,
triggers: triggers ?? this.triggers,
type: type ?? this.type,
validators: validators ?? this.validators,
);
}