ProductTax.fromJson constructor

ProductTax.fromJson(
  1. Map json_
)

Implementation

ProductTax.fromJson(core.Map json_)
  : this(
      country: json_['country'] as core.String?,
      locationId: json_['locationId'] as core.String?,
      postalCode: json_['postalCode'] as core.String?,
      rate: (json_['rate'] as core.num?)?.toDouble(),
      region: json_['region'] as core.String?,
      taxShip: json_['taxShip'] as core.bool?,
    );