copyWith method

AvailableWorkflowConnectRule copyWith({
  1. String? addonKey,
  2. String? createUrl,
  3. String? description,
  4. String? editUrl,
  5. String? moduleKey,
  6. String? name,
  7. String? ruleKey,
  8. AvailableWorkflowConnectRuleRuleType? ruleType,
  9. String? viewUrl,
})

Implementation

AvailableWorkflowConnectRule copyWith(
    {String? addonKey,
    String? createUrl,
    String? description,
    String? editUrl,
    String? moduleKey,
    String? name,
    String? ruleKey,
    AvailableWorkflowConnectRuleRuleType? ruleType,
    String? viewUrl}) {
  return AvailableWorkflowConnectRule(
    addonKey: addonKey ?? this.addonKey,
    createUrl: createUrl ?? this.createUrl,
    description: description ?? this.description,
    editUrl: editUrl ?? this.editUrl,
    moduleKey: moduleKey ?? this.moduleKey,
    name: name ?? this.name,
    ruleKey: ruleKey ?? this.ruleKey,
    ruleType: ruleType ?? this.ruleType,
    viewUrl: viewUrl ?? this.viewUrl,
  );
}