fromJson static method
Implementation
static SelectedTicketType? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return SelectedTicketType(
price: (json['price'] as num).toDouble(),
ticketType: json['ticketType'] as String,
);
}