copyWith method

AxelorCriteria copyWith({
  1. AxelorOperator? axelorOperator,
  2. String? fieldName,
  3. List<AxelorCriteria>? criteria,
  4. String? value,
  5. String? value2,
})

Implementation

AxelorCriteria copyWith({
  AxelorOperator? axelorOperator,
  String? fieldName,
  List<AxelorCriteria>? criteria,
  String? value,
  String? value2,
}) {
  return AxelorCriteria(
    axelorOperator: axelorOperator ?? this.axelorOperator,
    fieldName: fieldName ?? this.fieldName,
    criteria: criteria ?? this.criteria,
    value: value ?? this.value,
    value2: value2 ?? this.value2,
  );
}