ProductDetailBody class
- Inheritance
-
- Object
- BodyDataModel
- ProductDetailBody
Constructors
-
ProductDetailBody({ProductDetailDetailBody? detail, bool? isActive, bool? showInList, bool? showInHot, bool? showInHome, int? sortIndex, String? modelCode, String? hsCode, String? variant1Id, String? variant2Id, List<
ProductDetailSectionBody> ? sections, List<String> ? tags, List<String> ? features, List<String> ? photos, List<ProductDetailPriceBody> ? prices, List<ProductDetailStockBody> ? stocks, List<String> ? sides, List<String> ? catalogs})
Properties
-
catalogs
↔ List<
String> ? -
getter/setter pair
- detail ↔ ProductDetailDetailBody?
-
getter/setter pair
-
features
↔ List<
String> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hsCode ↔ String?
-
getter/setter pair
- isActive ↔ bool?
-
getter/setter pair
- modelCode ↔ String?
-
getter/setter pair
-
photos
↔ List<
String> ? -
getter/setter pair
-
prices
↔ List<
ProductDetailPriceBody> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sections
↔ List<
ProductDetailSectionBody> ? -
getter/setter pair
- showInHome ↔ bool?
-
getter/setter pair
- showInHot ↔ bool?
-
getter/setter pair
- showInList ↔ bool?
-
getter/setter pair
-
sides
↔ List<
String> ? -
getter/setter pair
- sortIndex ↔ int?
-
getter/setter pair
-
stocks
↔ List<
ProductDetailStockBody> ? -
getter/setter pair
-
getter/setter pair
- variant1Id ↔ String?
-
getter/setter pair
- variant2Id ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFormData(
) → Future< FormData?> ? -
Converts the body data model to a FormData object.
override
-
toPostJson(
) → Map< String, dynamic> ? -
Converts the body data model to a JSON object for a POST request.
override
-
toPutJson(
) → Map< String, dynamic> ? -
Converts the body data model to a JSON object for a PUT request.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited