copyWith method
GroupCriteria
copyWith({
- String fieldName()?,
- OrderDirections directions()?,
- List<
AggregateCriteria> aggregates()?,
Implementation
GroupCriteria copyWith({
String Function()? fieldName,
OrderDirections Function()? directions,
List<AggregateCriteria> Function()? aggregates,
}) {
return GroupCriteria(
fieldName: fieldName == null ? this.fieldName : fieldName(),
directions: directions == null ? this.directions : directions(),
aggregates: aggregates == null ? this.aggregates : aggregates(),
);
}