MasstransitFitness constructor

MasstransitFitness(
  1. MasstransitFitnessType type,
  2. List<MasstransitConstructionSegment> constructions,
  3. List<MasstransitRestrictedEntry> restrictedEntries,
  4. List<PolylinePosition> viaPoints,
  5. List<MasstransitAnnotation> annotations,
  6. List<MasstransitTrafficTypeSegment> trafficTypes,
  7. MasstransitElevationData? elevationData,
)

Implementation

factory MasstransitFitness(
        MasstransitFitnessType type,
        core.List<MasstransitConstructionSegment> constructions,
        core.List<
                transport_masstransit_restricted_entry
                .MasstransitRestrictedEntry>
            restrictedEntries,
        core.List<mapkit_geometry_geometry.PolylinePosition> viaPoints,
        core.List<transport_masstransit_annotation.MasstransitAnnotation>
            annotations,
        core.List<MasstransitTrafficTypeSegment> trafficTypes,
        MasstransitElevationData? elevationData) =>
    MasstransitFitnessImpl(type, constructions, restrictedEntries, viaPoints,
        annotations, trafficTypes, elevationData);