toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> _data = <String, dynamic>{};
_data["maxPrice"] = maxPrice;
_data["minPrice"] = minPrice;
_data["maxPriceFormat"] = maxPriceFormat;
_data["minPriceFormat"] = minPriceFormat;
_data["currencySymbol"] = currencySymbol;
_data["currency"] = currency;
_data["maxArea"] = maxArea;
_data["minArea"] = minArea;
_data["sizeUnit"] = sizeUnit;
if (attributes != null) {
_data["attributes"] = attributes?.map((e) => e.toJson()).toList();
}
return _data;
}