toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'name': name,
'numberOfPlaces': numberOfPlaces,
'lookAtCoordinates': lookAtCoordinates.map((e) => e.toMap()).toList(),
// 'ballonContentOfPlacemarks': ballonContentOfPlacemarks,
'poisNames': poisNames,
};
}