TransitLeg

fun TransitLeg(distance: Distance, path: PathGeometry, fallbackDuration: Duration?, stops: List<LegStop>, departure: Departure, allServiceOptions: List<Service>, allDepartureOptions: List<Departure>, statuses: List<Status>?, legDepartureTime: Date?, legArrivalTime: Date?, directionDescription: String?, bestBoardingSections: List<BoardingSection>?)