hotel property

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

Implementation

HotelMixedOrderRequestItem? get hotel => value is HotelMixedOrderRequestItem ? value as HotelMixedOrderRequestItem : null;