Poi constructor

Poi({
  1. String? internationalPhone,
  2. OpeningHours? openingHours,
  3. String? phone,
  4. List<String>? photoUrls,
  5. List<String>? poiTypes,
  6. List<String>? hwPoiTypes,
  7. double? rating,
  8. String? websiteUrl,
  9. int? priceLevel,
  10. String? businessStatus,
  11. List<ChildrenNode>? childrenNodes,
  12. String? icon,
})

Implementation

Poi({
  this.internationalPhone,
  this.openingHours,
  this.phone,
  this.photoUrls,
  this.poiTypes,
  this.hwPoiTypes,
  double? rating,
  this.websiteUrl,
  int? priceLevel,
  this.businessStatus,
  this.childrenNodes,
  this.icon,
})  : rating = rating ?? 0,
      priceLevel = priceLevel ?? -1;