MasstransitSectionMetadata constructor

MasstransitSectionMetadata(
  1. MasstransitWeight weight,
  2. MasstransitSectionMetadataSectionData data,
  3. MasstransitTravelEstimation? estimation,
  4. int legIndex,
)

Implementation

factory MasstransitSectionMetadata(
        transport_masstransit_weight.MasstransitWeight weight,
        MasstransitSectionMetadataSectionData data,
        transport_masstransit_travel_estimation.MasstransitTravelEstimation?
            estimation,
        core.int legIndex) =>
    MasstransitSectionMetadataImpl(weight, data, estimation, legIndex);