getPolyline method
Implementation
Future<Response> getPolyline(
GeoCodingResponse pickup, GeoCodingResponse dropoff) async {
Response response = await RFN.Navigation.Route.GetPolyline(
AddressRF(
Name: "pickup",
Coordinate: CoordinateRF(
double.parse(pickup.lat),
double.parse(pickup.lng),
),
),
AddressRF(
Name: "dropoff",
Coordinate: CoordinateRF(
double.parse(dropoff.lat),
double.parse(dropoff.lng),
),
));
return response;
}