hotel property

HotelMixedQuoteItem? get hotel

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

Implementation

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