ProductMaterialResult.fromJson constructor
Implementation
factory ProductMaterialResult.fromJson(Map<String, dynamic> json) => ProductMaterialResult(
headImg: json["headImg"],
createTime: DateTime.parse(json["createTime"]),
materialList: List<MaterialList>.from(json["materialList"].map((x) => MaterialList.fromJson(x))),
name: json["name"],
hot: json["hot"],
newest: json["newest"],
);