copyWith method

NmLienFilter copyWith({
  1. List<String>? states,
  2. List<String>? counties,
  3. double? maxPrice,
  4. double? minInterestRate,
  5. Set<NmLienPropertyType>? propertyTypes,
  6. bool? auctions,
  7. bool? otc,
  8. Set<NmPropertyStage>? stages,
  9. bool? noHeirsOnly,
  10. double? minForeclosureScore,
  11. double? minX1000Score,
})

A copy with the given fields replaced.

Implementation

NmLienFilter copyWith({
  List<String>? states,
  List<String>? counties,
  double? maxPrice,
  double? minInterestRate,
  Set<NmLienPropertyType>? propertyTypes,
  bool? auctions,
  bool? otc,
  Set<NmPropertyStage>? stages,
  bool? noHeirsOnly,
  double? minForeclosureScore,
  double? minX1000Score,
}) => NmLienFilter(
  states: states ?? this.states,
  counties: counties ?? this.counties,
  maxPrice: maxPrice ?? this.maxPrice,
  minInterestRate: minInterestRate ?? this.minInterestRate,
  propertyTypes: propertyTypes ?? this.propertyTypes,
  auctions: auctions ?? this.auctions,
  otc: otc ?? this.otc,
  stages: stages ?? this.stages,
  noHeirsOnly: noHeirsOnly ?? this.noHeirsOnly,
  minForeclosureScore: minForeclosureScore ?? this.minForeclosureScore,
  minX1000Score: minX1000Score ?? this.minX1000Score,
);