ProductAttriduteModel.fromJson constructor

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

Implementation

factory ProductAttriduteModel.fromJson(Map<String, dynamic> json) {
  return ProductAttriduteModel(
    id: json['id'],
    name: json['name'],
    slug: json['slug'],
    type: json['type'],
    order_by: json['order_by'],
    has_archives: json['has_archives'],
  );
}