OsrmBannerInstructions.fromMap constructor
fromMap method to get the OsrmBannerInstructions from a json map
Implementation
factory OsrmBannerInstructions.fromMap(Map<String, dynamic> json) {
return OsrmBannerInstructions(
distanceAlongGeometry: json['distanceAlongGeometry'],
primary: json['primary'],
secondary: json['secondary'],
sub: json['sub'],
imageBaseUrl: json['imageBaseUrl'],
type: json['type'],
modifier: json['modifier'],
degrees: json['degrees'],
);
}