CPPointOfInterest constructor

CPPointOfInterest({
  1. required double latitude,
  2. required double longitude,
  3. required String title,
  4. String? subtitle,
  5. String? summary,
  6. String? detailTitle,
  7. String? detailSubtitle,
  8. String? detailSummary,
  9. String? image,
  10. CPTextButton? primaryButton,
  11. CPTextButton? secondaryButton,
})

Implementation

CPPointOfInterest({
  required this.latitude,
  required this.longitude,
  required this.title,
  this.subtitle,
  this.summary,
  this.detailTitle,
  this.detailSubtitle,
  this.detailSummary,
  this.image,
  this.primaryButton,
  this.secondaryButton
});