addToCart static method
void
addToCart(
- BuildContext context,
- AppModel app,
- ActionModel? continueShoppingAction,
- ProductModel? product,
- int amount,
Implementation
static void addToCart(BuildContext context, AppModel app,
ActionModel? continueShoppingAction, ProductModel? product, int amount) {
_runEvent(
context, app, AddProduct(amount, product, continueShoppingAction));
}