copyWith method

  1. @override
SubCondition copyWith({
  1. ConditionParameter? firstParameter,
  2. ConditionParameter? secondParameter,
  3. FConditionType? conditionType,
  4. List<SubCondition>? subConditions,
  5. 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,
  );
}