toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "exclude-from-catalog": excludeFromCatalog,
      "exclude-from-search": excludeFromSearch,
      "featured": featured,
      "outofstock": outofstock,
      "rated-1": rated1,
      "rated-2": rated2,
      "rated-3": rated3,
      "rated-4": rated4,
      "rated-5": rated5,
    };