FreeShippingThreshold.fromJson constructor

FreeShippingThreshold.fromJson(
  1. Map json_
)

Implementation

FreeShippingThreshold.fromJson(core.Map json_)
  : this(
      country: json_['country'] as core.String?,
      priceThreshold:
          json_.containsKey('priceThreshold')
              ? Price.fromJson(
                json_['priceThreshold']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );