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