CartItem constructor

CartItem(
  1. String itemId,
  2. double price,
  3. double quantity
)

Implementation

CartItem(this.itemId, this.price, this.quantity);