ProductVisibilityTerms.fromJson constructor

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

Implementation

factory ProductVisibilityTerms.fromJson(Map<String, dynamic> json) =>
    ProductVisibilityTerms(
      excludeFromCatalog: json["exclude-from-catalog"],
      excludeFromSearch: json["exclude-from-search"],
      featured: json["featured"],
      outofstock: json["outofstock"],
      rated1: json["rated-1"],
      rated2: json["rated-2"],
      rated3: json["rated-3"],
      rated4: json["rated-4"],
      rated5: json["rated-5"],
    );