copyWith method

AvailableWorkflowForgeRule copyWith({
  1. String? description,
  2. String? id,
  3. String? name,
  4. String? ruleKey,
  5. AvailableWorkflowForgeRuleRuleType? ruleType,
})

Implementation

AvailableWorkflowForgeRule copyWith(
    {String? description,
    String? id,
    String? name,
    String? ruleKey,
    AvailableWorkflowForgeRuleRuleType? ruleType}) {
  return AvailableWorkflowForgeRule(
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    ruleKey: ruleKey ?? this.ruleKey,
    ruleType: ruleType ?? this.ruleType,
  );
}