ConvertedRegionPrice.fromJson constructor

ConvertedRegionPrice.fromJson(
  1. Map json_
)

Implementation

ConvertedRegionPrice.fromJson(core.Map json_)
    : this(
        price: json_.containsKey('price')
            ? Money.fromJson(
                json_['price'] as core.Map<core.String, core.dynamic>)
            : null,
        regionCode: json_.containsKey('regionCode')
            ? json_['regionCode'] as core.String
            : null,
        taxAmount: json_.containsKey('taxAmount')
            ? Money.fromJson(
                json_['taxAmount'] as core.Map<core.String, core.dynamic>)
            : null,
      );