ProductAttributeTerm.fromJson constructor

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

Implementation

ProductAttributeTerm.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  slug = json['slug'];
  description = json['description'];
  menuOrder = json['menu_order'];
  count = json['count'];
  links = json['_links'] != null ? Links.fromJson(json['_links']) : null;
}