copyWith method

Implementation

ProductFilterParameter copyWith({
  List<ProductFilterParameter>? and,
  List<ProductFilterParameter>? or,
  DateOperators? createdAt,
  StringOperators? description,
  BooleanOperators? enabled,
  IdOperators? id,
  StringOperators? languageCode,
  StringOperators? name,
  StringOperators? slug,
  DateOperators? updatedAt,
}) {
  return ProductFilterParameter(
    and: and ?? this.and,
    or: or ?? this.or,
    createdAt: createdAt ?? this.createdAt,
    description: description ?? this.description,
    enabled: enabled ?? this.enabled,
    id: id ?? this.id,
    languageCode: languageCode ?? this.languageCode,
    name: name ?? this.name,
    slug: slug ?? this.slug,
    updatedAt: updatedAt ?? this.updatedAt,
  );
}