copyWith method
SubCondition
copyWith({
- ConditionParameter? firstParameter,
- ConditionParameter? secondParameter,
- FConditionType? conditionType,
- List<
SubCondition> ? subConditions, - SubConditionOperator? operator,
override
Implementation
@override
SubCondition copyWith({
ConditionParameter? firstParameter,
ConditionParameter? secondParameter,
FConditionType? conditionType,
List<SubCondition>? subConditions,
SubConditionOperator? operator,
}) {
return SubCondition(
conditionType: conditionType ?? this.conditionType,
firstParameter: firstParameter ?? this.firstParameter,
secondParameter: secondParameter ?? this.secondParameter,
operator: operator ?? this.operator,
subConditions: subConditions ?? this.subConditions,
);
}