copyWith method

AvailableWorkflowTriggers copyWith({
  1. List<AvailableWorkflowTriggerTypes>? availableTypes,
  2. String? ruleKey,
})

Implementation

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