PricingForChannel constructor

PricingForChannel({
  1. required String channel,
  2. double? price,
  3. double? originalPrice,
  4. List<TicketType>? ticketTypes,
})

Implementation

factory PricingForChannel({
  required String channel,
  double? price,
  double? originalPrice,
  List<TicketType>? ticketTypes,
}) {
  return _$PricingForChannel._(
    channel: channel,
    price: price,
    originalPrice: originalPrice,
    ticketTypes: ticketTypes != null ? BuiltList(ticketTypes) : null,
  );
}