AccountTaxTaxRule.fromJson constructor

AccountTaxTaxRule.fromJson(
  1. Map json_
)

Implementation

AccountTaxTaxRule.fromJson(core.Map json_)
    : this(
        country: json_.containsKey('country')
            ? json_['country'] as core.String
            : null,
        locationId: json_.containsKey('locationId')
            ? json_['locationId'] as core.String
            : null,
        ratePercent: json_.containsKey('ratePercent')
            ? json_['ratePercent'] as core.String
            : null,
        shippingTaxed: json_.containsKey('shippingTaxed')
            ? json_['shippingTaxed'] as core.bool
            : null,
        useGlobalRate: json_.containsKey('useGlobalRate')
            ? json_['useGlobalRate'] as core.bool
            : null,
      );