flight property

FlightMixedQuoteItem? get flight

The "flight" variant, or null when the value is another one.

Implementation

FlightMixedQuoteItem? get flight => value is FlightMixedQuoteItem ? value as FlightMixedQuoteItem : null;