ProductContentModel class
- Annotations
-
- @JsonSerializable()
Constructors
-
ProductContentModel({int? id, String? productCode, String? productId, String? productImage, String? productName, String? productDescription, List<
OrderDetails> ? orderDetails, int? totalOrderedQuantity, int scannedQty = 0, double? itemAmount, double? itemTax, List<SingleScannedModel> ? iccidList, List<RangeScannedModel> ? rangeList, List<SellThruAssets> ? assets, double? unitDiscount, double? sellingPrice, double? unitSellingPrice, List<int> ? scannedserialNums}) -
ProductContentModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
assets
↔ List<
SellThruAssets> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iccidList
↔ List<
SingleScannedModel> ? -
getter/setter pair
- id ↔ int?
-
getter/setter pair
- itemAmount ↔ double?
-
getter/setter pair
- itemTax ↔ double?
-
getter/setter pair
-
orderDetails
↔ List<
OrderDetails> ? -
getter/setter pair
- productCode ↔ String?
-
getter/setter pair
- productDescription ↔ String?
-
getter/setter pair
- productId ↔ String?
-
getter/setter pair
- productImage ↔ String?
-
getter/setter pair
- productName ↔ String?
-
getter/setter pair
-
rangeList
↔ List<
RangeScannedModel> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scannedQty ↔ int
-
getter/setter pair
-
scannedserialNums
↔ List<
int> ? -
getter/setter pair
- sellingPrice ↔ double?
-
getter/setter pair
- totalOrderedQuantity ↔ int?
-
getter/setter pair
- unitDiscount ↔ double?
-
getter/setter pair
- unitSellingPrice ↔ double?
-
getter/setter pair
Methods
-
copyWith(
{int? id, String? productCode, String? productId, String? productName, String? productDescription, String? productImage, int? totalOrderedQuantity, int scannedQty = 0, double? itemAmount, double? itemTax, double? unitDiscount, double? sellingPrice, double? unitSellingPrice, List< OrderDetails> ? orderDetails, List<SingleScannedModel> ? iccidList, List<RangeScannedModel> ? rangeList, List<int> ? scannedserialNums}) → ProductContentModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited