GetPolyline method

Future GetPolyline(
  1. AddressRF pickup,
  2. AddressRF dropoff
)

Implementation

Future<dynamic> GetPolyline(AddressRF pickup, AddressRF dropoff) async {
  return await controller.Http?.Route?.GetDirections(pickup.Coordinate.lat,
      pickup.Coordinate.lng, dropoff.Coordinate.lat, dropoff.Coordinate.lng);
}