Price.fromJson constructor
Price.fromJson(
- Map json_
Implementation
Price.fromJson(core.Map json_)
: this(
amount: json_.containsKey('amount')
? Money.fromJson(
json_['amount'] as core.Map<core.String, core.dynamic>)
: null,
pricingType: json_.containsKey('pricingType')
? json_['pricingType'] as core.String
: null,
);