MasstransitSection constructor

MasstransitSection(
  1. MasstransitSectionMetadata metadata,
  2. Subpolyline geometry,
  3. List<MasstransitRouteStop> stops,
  4. List<Subpolyline> rideLegs,
)

Implementation

factory MasstransitSection(
        MasstransitSectionMetadata metadata,
        mapkit_geometry_geometry.Subpolyline geometry,
        core.List<MasstransitRouteStop> stops,
        core.List<mapkit_geometry_geometry.Subpolyline> rideLegs) =>
    MasstransitSectionImpl(metadata, geometry, stops, rideLegs);