copyWith method
AvailableWorkflowTriggers
copyWith({
- List<
AvailableWorkflowTriggerTypes> ? availableTypes, - String? ruleKey,
Implementation
AvailableWorkflowTriggers copyWith(
{List<AvailableWorkflowTriggerTypes>? availableTypes, String? ruleKey}) {
return AvailableWorkflowTriggers(
availableTypes: availableTypes ?? this.availableTypes,
ruleKey: ruleKey ?? this.ruleKey,
);
}