SearchCandidate constructor Null safety

SearchCandidate(
  1. {Geometry? geometry,
  2. String? businessStatus,
  3. OpeningHours? openingHours,
  4. List<Photo>? photos,
  5. PlusCode? plusCode,
  6. String? formattedAddress,
  7. String? name,
  8. double? rating,
  9. String? icon,
  10. String? id,
  11. String? placeId,
  12. int? priceLevel,
  13. String? reference,
  14. String? scope,
  15. List<String>? types,
  16. int? userRatingsTotal,
  17. String? vicinity,
  18. bool? permanentlyClosed}
)

Implementation

SearchCandidate({
  this.geometry,
  this.businessStatus,
  this.openingHours,
  this.photos,
  this.plusCode,
  this.formattedAddress,
  this.name,
  this.rating,
  this.icon,
  this.id,
  this.placeId,
  this.priceLevel,
  this.reference,
  this.scope,
  this.types,
  this.userRatingsTotal,
  this.vicinity,
  this.permanentlyClosed,
});