copyWith method
HomeFiltersAvailable
copyWith(
{ - int? maxPrice,
- int? minPrice,
- String? maxPriceFormat,
- String? minPriceFormat,
- String? currencySymbol,
- String? currency,
- int? maxArea,
- int? minArea,
- String? sizeUnit,
- 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,
);