TicketCost.fromJson constructor
TicketCost.fromJson(
- Map json_
Implementation
TicketCost.fromJson(core.Map json_)
: this(
discountMessage: json_.containsKey('discountMessage')
? LocalizedString.fromJson(json_['discountMessage']
as core.Map<core.String, core.dynamic>)
: null,
faceValue: json_.containsKey('faceValue')
? Money.fromJson(
json_['faceValue'] as core.Map<core.String, core.dynamic>)
: null,
purchasePrice: json_.containsKey('purchasePrice')
? Money.fromJson(
json_['purchasePrice'] as core.Map<core.String, core.dynamic>)
: null,
);