PriceRange.fromJson constructor Null safety
Implementation
factory PriceRange.fromJson(Map<String, dynamic> json) => PriceRange(
minPrice:
json["minPrice"] == null ? null : json["minPrice"]!.toDouble(),
maxPrice:
json["maxPrice"] == null ? null : json["maxPrice"]!.toDouble(),
);