toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final country = this.country;
  final priceThreshold = this.priceThreshold;
  return {'country': ?country, 'priceThreshold': ?priceThreshold};
}