TrafficResponse.fromJson constructor
Implementation
factory TrafficResponse.fromJson(Map<String, dynamic> json) =>
TrafficResponse(
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"],
);