ProductAttributeTermsModel.fromJson constructor

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

Implementation

factory ProductAttributeTermsModel.fromJson(Map<String, dynamic> json) {
  return ProductAttributeTermsModel(
    id: json['id'],
    name: json['name'],
    slug: json['slug'],
    description: json['description'],
    menu_order: json['menu_order'],
    count: json['count'],
  );
}