IndoorWaypoint.withPassThrough constructor

IndoorWaypoint.withPassThrough(
  1. GeoCoordinates coordinates,
  2. String venueId,
  3. String levelId,
  4. bool passThrough,
)

Creates a passthrough indoor waypoint (for via waypoints).

The route will continue through this waypoint without stopping when pass_through is true. When pass_through is false, it behaves the same as the basic constructor.

  • coordinates A waypoint's geographic coordinates.

  • venueId An ID of the venue where the waypoint is located.

  • levelId An ID of the level where the waypoint is located.

  • passThrough If true, the route passes through without stopping. If false, the route stops at this waypoint.

Implementation

factory IndoorWaypoint.withPassThrough(GeoCoordinates coordinates, String venueId, String levelId, bool passThrough) => $prototype.withPassThrough(coordinates, venueId, levelId, passThrough);