cart static method
Implementation
static RecommendationLogic cart({List<CartItem>? cartItems}) {
Map<String, dynamic> dataMap = {};
if (cartItems != null && cartItems.isNotEmpty) {
dataMap["cartItems"] = cartItems;
}
return RecommendationLogic._(name: _CART, data: dataMap);
}