RouteOptions.fromJson constructor

RouteOptions.fromJson(
  1. Map<String, dynamic> json
)

Implementation

RouteOptions.fromJson(Map<String, dynamic> json) {
  baseUrl = json['baseUrl'];
  profile = json['profile'];
  alternatives = json['alternatives'];
  language = json['language'];
  bearings = json['bearings'];
  continueStraight = json['continue_straight'];
  roundaboutExits = json['roundabout_exits'];
  geometries = json['geometries'];
  overview = json['overview'];
  steps = json['steps'];
  annotations = json['annotations'];
  voiceInstructions = json['voice_instructions'];
  bannerInstructions = json['banner_instructions'];
  voiceUnits = json['voice_units'];
}