flight property

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

Implementation

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