Line constructor
Line({
- String? id,
- int? quantity,
- CartLineCost? cost,
- ProductVariant? merchandise,
- String? variantId,
- List<
CartDiscountAllocation?> ? discountAllocations, - SellingPlanAllocation? sellingPlanAllocation,
- List<
Attribute?> ? attributes,
The cart line constructor
Implementation
factory Line({
String? id,
int? quantity,
CartLineCost? cost,
ProductVariant? merchandise,
String? variantId,
List<CartDiscountAllocation?>? discountAllocations,
SellingPlanAllocation? sellingPlanAllocation,
List<Attribute?>? attributes,
}) = _Line;