copyWith method
ConditionalAction
copyWith({
- String? id,
- String? type,
- String? group,
- FCondition? condition,
- List<
ActionEntity> ? actionsTrueWorkflow, - List<
ActionEntity> ? actionsFalseWorkflow,
Implementation
ConditionalAction copyWith({
String? id,
String? type,
String? group,
FCondition? condition,
List<ActionEntity>? actionsTrueWorkflow,
List<ActionEntity>? actionsFalseWorkflow,
}) {
return ConditionalAction(
id: id ?? this.id,
type: type ?? this.type,
group: group ?? this.group,
condition: condition ?? this.condition,
actionsTrueWorkflow: actionsTrueWorkflow ?? this.actionsTrueWorkflow,
actionsFalseWorkflow: actionsFalseWorkflow ?? this.actionsFalseWorkflow,
);
}