TryOnCollection.fromJson constructor
Implementation
factory TryOnCollection.fromJson(Map<String, dynamic> json) => TryOnCollection(
id: json["id"],
name: json["name"],
totalProducts: json["totalProducts"],
productList: List<String>.from(json["productList"].map((x) => x)),
);