copyWith method
Implementation
FilterCriteria<TValue> copyWith({
String Function()? fieldName,
Operators Function()? op,
Logic Function()? logicalOperator,
List<TValue> Function()? values,
}) {
return FilterCriteria<TValue>(
fieldName: fieldName == null ? this.fieldName : fieldName(),
op: op == null ? this.op : op(),
logicalOperator:
logicalOperator == null ? this.logicalOperator : logicalOperator(),
values: values == null ? this.values : values(),
);
}