+
+
+ productType property +
getter/setter pair
+
+ Type of the product (e.g. "pet food").
+Implementation
+@JsonKey(name: 'product_type')
+ProductType? productType;
+diff --git a/__404error.html b/__404error.html index 3d99aee67f..9b693c429c 100644 --- a/__404error.html +++ b/__404error.html @@ -140,6 +140,7 @@
Type of the product (e.g. "pet food").
+@JsonKey(name: 'product_type')
+ProductType? productType;
+Type used at the Product level (e.g. "this is a pet food product").
+Somehow redundant with ServerType and Flavor.
+const ProductType(offTag: 'food')
+ const ProductType(offTag: 'beauty')
+ const ProductType(offTag: 'petfood')
+ const ProductType(offTag: 'product')
+ offTag
.
+ const ProductType({
+ required this.offTag,
+});
+Returns the first ProductType that matches the offTag
.
static ProductType? fromOffTag(final String? offTag) =>
+ OffTagged.fromOffTag(offTag, ProductType.values) as ProductType?;
+A constant List of the values in this enum, in order of their declaration.
+