copyWith method

HomeFiltersAvailable copyWith({
  1. int? maxPrice,
  2. int? minPrice,
  3. String? maxPriceFormat,
  4. String? minPriceFormat,
  5. String? currencySymbol,
  6. String? currency,
  7. int? maxArea,
  8. int? minArea,
  9. String? sizeUnit,
  10. List<HomeAttributes>? attributes,
})

Implementation

HomeFiltersAvailable copyWith({
  int? maxPrice,
  int? minPrice,
  String? maxPriceFormat,
  String? minPriceFormat,
  String? currencySymbol,
  String? currency,
  int? maxArea,
  int? minArea,
  String? sizeUnit,
  List<HomeAttributes>? attributes,
}) =>
    HomeFiltersAvailable(
      maxPrice: maxPrice ?? this.maxPrice,
      minPrice: minPrice ?? this.minPrice,
      maxPriceFormat: maxPriceFormat ?? this.maxPriceFormat,
      minPriceFormat: minPriceFormat ?? this.minPriceFormat,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      currency: currency ?? this.currency,
      maxArea: maxArea ?? this.maxArea,
      minArea: minArea ?? this.minArea,
      sizeUnit: sizeUnit ?? this.sizeUnit,
      attributes: attributes ?? this.attributes,
    );