toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'id': id,
'lat': latitude,
'lng': longitude,
'alt': altitude,
'title': title,
'snippet': snippet,
'iconAsset': iconAsset,
'imageUrl': imageUrl,
'imageSize': imageSize,
'imageRadius': imageRadius,
};
}