parseRouting function
Implementation
List<RoutingInfo> parseRouting(String responseBody) {
final parsed = jsonDecode(responseBody).cast<String, dynamic>();
return parsed.map<RoutingInfo>((json) => RoutingInfo.fromJson(json));
}
List<RoutingInfo> parseRouting(String responseBody) {
final parsed = jsonDecode(responseBody).cast<String, dynamic>();
return parsed.map<RoutingInfo>((json) => RoutingInfo.fromJson(json));
}