ProductItemModel class abstract
- Implemented types
Constructors
- ProductItemModel([void updates(ProductItemModelBuilder)])
-
factory
Properties
- currencyName → String
-
no setterinherited
- currencySymbol → String
-
no setterinherited
- description → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- price → String
-
no setterinherited
- productDetails → ProductDetails
-
no setter
- productType → ProductType
-
no setterinherited
- rawPrice → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(ProductItemModelBuilder)) → ProductItemModel -
Rebuilds the instance.
inherited
-
toBuilder(
) → ProductItemModelBuilder -
Converts the instance to a builder
B.inherited -
toJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
ProductItemModel> -
no setter
Static Methods
-
fromJson(
String jsonString) → ProductItemModel -
fromMap(
Map< String, dynamic> jsonString) → ProductItemModel -
fromProductDetails(
ProductDetails productDetails, ProductItemTypeMapper? typeMapper, List< PurchaseProductListing> ? listings) → ProductItemModel