toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (showAvailability != null) 'showAvailability': showAvailability,
if (showCategory != null) 'showCategory': showCategory,
if (showLabel != null) 'showLabel': showLabel,
if (showPricing != null) 'showPricing': showPricing,
if (showUnavailableNotice != null) 'showUnavailableNotice': showUnavailableNotice,
if (stylizedLabel != null) 'stylizedLabel': stylizedLabel,
if (confirmSelection != null) 'confirmSelection': confirmSelection,
if (confirmTicketTypeSelection != null) 'confirmTicketTypeSelection': confirmTicketTypeSelection,
};
}