class TaxModel { String? country; bool? enable; String? tax; String? id; String? type; String? title; TaxModel({this.country, this.enable, this.tax, this.id, this.type, this.title}); TaxModel.fromJson(Map json) { country = json['country']; enable = json['enable']; tax = json['tax']; id = json['id']; type = json['type']; title = json['title']; } Map toJson() { final Map data = {}; data['country'] = country; data['enable'] = enable; data['tax'] = tax; data['id'] = id; data['type'] = type; data['title'] = title; return data; } }