TaxRate.fromJson constructor

TaxRate.fromJson(Map<String, dynamic> json)

Implementation

TaxRate.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 Links.fromJson(json['_links']) : null;
}