copyWith method

FCondition copyWith({
  1. ConditionParameter? firstParameter,
  2. ConditionParameter? secondParameter,
  3. FConditionType? conditionType,
  4. List<SubCondition>? subConditions,
})

Implementation

FCondition copyWith({
  ConditionParameter? firstParameter,
  ConditionParameter? secondParameter,
  FConditionType? conditionType,
  List<SubCondition>? subConditions,
}) {
  return FCondition(
    firstParameter: firstParameter ?? this.firstParameter,
    secondParameter: secondParameter ?? this.secondParameter,
    conditionType: conditionType ?? this.conditionType,
    subConditions: subConditions ?? this.subConditions,
  );
}