ProductBody class
- Inheritance
-
- Object
- BodyDataModel
- ProductBody
Constructors
-
ProductBody({String? storeId, String? groupId, bool? useStock, String? type, String? brandId, List<
String> ? categories, List<ProductDetailBody> ? products})
Properties
- brandId ↔ String?
-
getter/setter pair
-
categories
↔ List<
String> ? -
getter/setter pair
- groupId ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
products
↔ List<
ProductDetailBody> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storeId ↔ String?
-
getter/setter pair
- type ↔ String?
-
getter/setter pair
- useStock ↔ bool?
-
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