MasstransitElevationData constructor

MasstransitElevationData(
  1. LocalizedValue totalAscent,
  2. LocalizedValue totalDescent,
  3. LocalizedValue? steps,
  4. LocalizedValue kilocalories,
  5. List<MasstransitInclineSection> inclineSections,
  6. List<MasstransitElevationPoint> elevationSegments,
)

Implementation

factory MasstransitElevationData(
        mapkit_localized_value.LocalizedValue totalAscent,
        mapkit_localized_value.LocalizedValue totalDescent,
        mapkit_localized_value.LocalizedValue? steps,
        mapkit_localized_value.LocalizedValue kilocalories,
        core.List<MasstransitInclineSection> inclineSections,
        core.List<MasstransitElevationPoint> elevationSegments) =>
    MasstransitElevationDataImpl(totalAscent, totalDescent, steps,
        kilocalories, inclineSections, elevationSegments);