subtractFromCart static method

void subtractFromCart(
  1. BuildContext context,
  2. AppModel app,
  3. ProductModel product,
  4. int amount,
)

Implementation

static void subtractFromCart(
    BuildContext context, AppModel app, ProductModel product, int amount) {
  _runEvent(context, app, RemoveProduct(amount, product));
}