toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "_elementId": _elementId,
  "title": title,
  "poi": poi.map((e) => e.toJson()).toList(),
};