WooTaxRate.fromJson constructor

WooTaxRate.fromJson(
  1. Map<String, dynamic> json
)

Implementation

WooTaxRate.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  country = json['country'];
  state = json['state'];
  postcode = json['postcode'];
  city = json['city'];
  rate = json['rate'];
  name = json['name'];
  priority = json['priority'];
  compound = json['compound'];
  shipping = json['shipping'];
  order = json['order'];
  taxClass = json['class'];
  links = json['_links'] != null
      ? new WooTaxRateLinks.fromJson(json['_links'])
      : null;
}