CartItem constructor Null safety

CartItem(
  1. {dynamic uuid,
  2. dynamic productId,
  3. String? productName,
  4. dynamic unitPrice,
  5. dynamic subTotal,
  6. int quantity = 0,
  7. dynamic productDetails,
  8. int itemCartIndex = -1,
  9. dynamic uniqueCheck}
)

Implementation

CartItem(
    {this.uuid,
    this.productId,
    this.productName,
    this.unitPrice,
    this.subTotal,
    this.quantity = 0,
    this.productDetails,
    this.itemCartIndex = -1,
    this.uniqueCheck});