OsrmVoiceInstructions.fromMap constructor
fromMap method to get the OsrmVoiceInstructions from a json map
Implementation
factory OsrmVoiceInstructions.fromMap(Map<String, dynamic> json) {
return OsrmVoiceInstructions(
distanceAlongGeometry: json['distanceAlongGeometry'],
announcement: json['announcement'],
ssmlAnnouncement: json['ssmlAnnouncement'],
);
}