FreeShippingThreshold.fromJson constructor

FreeShippingThreshold.fromJson(
  1. Map json_
)

Implementation

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