MapboxModel.fromJson constructor
Implementation
factory MapboxModel.fromJson(Map<String, dynamic> json) => MapboxModel(
routes: List<Route>.from(json["routes"].map((x) => Route.fromJson(x))),
waypoints: List<Waypoint>.from(
json["waypoints"].map((x) => Waypoint.fromJson(x)),
),
code: json["code"],
uuid: json["uuid"],
);