Price class abstract

Constructors

Price([void updates(PriceBuilder)])
factory
Price.forCategory({required dynamic category, double? price, double? originalPrice, double? fee, List<TicketType>? ticketTypes, List<PricingForChannel>? channels})
factory
Price.forObjects({required List<String> objects, double? price, double? originalPrice, double? fee, List<TicketType>? ticketTypes})
factory

Properties

category → CategoryKey?
no setter
channels → BuiltList<PricingForChannel>?
no setter
fee double?
no setter
hashCode int
The hash code for this object.
no setterinherited
objects → BuiltList<String>?
no setter
originalPrice double?
no setter
price double?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ticketTypes → BuiltList<TicketType>?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PriceBuilder)) Price
Rebuilds the instance.
inherited
toBuilder() PriceBuilder
Converts the instance to a builder B.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Price>
no setter