numOfStops property

int numOfStops

Implementation

int get numOfStops =>
    isRoundTrip ? departureStops + returnStops : departureStops;