Amount.fromJson constructor
Amount.fromJson(
- Map json_
Implementation
Amount.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,
);