tripTwoStopCount property

int tripTwoStopCount

Implementation

int get tripTwoStopCount =>
    ((showExclusiveFlights.value && showStandardPrice.value) ||
            (!showExclusiveFlights.value && !showStandardPrice.value))
        ? (exclusiveTwoStopCount.value + standardTwoStopCount.value)
        : (showExclusiveFlights.value ? 0 : standardTwoStopCount.value) +
          (showStandardPrice.value ? 0 : exclusiveTwoStopCount.value);