copyWith method

RuleConfiguration copyWith({
  1. bool? disabled,
  2. String? tag,
  3. String? value,
})

Implementation

RuleConfiguration copyWith({bool? disabled, String? tag, String? value}) {
  return RuleConfiguration(
    disabled: disabled ?? this.disabled,
    tag: tag ?? this.tag,
    value: value ?? this.value,
  );
}