requestRoutes abstract method

MasstransitSession requestRoutes(
  1. TransitOptions transitOptions,
  2. RouteOptions routeOptions,
  3. RouteHandler routeListener, {
  4. required List<RequestPoint> points,
})

Submits a request to find mass transit routes.

points Route points (See mapkit_request_point.RequestPoint for details). Currently only two points are supported (start and finish) transitOptions Additional parameters for building routes. routeOptions Options for route personalization. routeListener Listener to retrieve a list of MasstransitRoute objects.

Implementation

transport_masstransit_session.MasstransitSession requestRoutes(
  transport_masstransit_transit_options.TransitOptions transitOptions,
  transport_masstransit_options.RouteOptions routeOptions,
  transport_masstransit_session.RouteHandler routeListener, {
  required core.List<mapkit_request_point.RequestPoint> points,
});