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