toMap method
toMap method to get the OsrmVoiceInstructions as a json map
Implementation
@override
Map<String, dynamic> toMap() {
return {
'distanceAlongGeometry': distanceAlongGeometry,
'announcement': announcement,
'ssmlAnnouncement': ssmlAnnouncement,
};
}