toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "_elementId": _elementId,
  "latitude":latitude,
  "longitude":longitude,
  "title":title,
  "subtitle":subtitle,
  "summary":summary,
  "detailTitle":detailTitle,
  "detailSubtitle":detailSubtitle,
  "detailSummary":detailSummary,
  "image":image,
  "primaryButton":primaryButton?.toJson(),
  "secondaryButton":secondaryButton?.toJson()

};