removeFromCart method

Future<bool> removeFromCart(
  1. String itemId
)

Remove item from cart.

Removes a specific item from the shopping cart.

itemId the ID of the cart item to remove

Returns true if item was removed successfully, false otherwise.

Implementation

Future<bool> removeFromCart(String itemId) {
  throw UnimplementedError('removeFromCart() has not been implemented.');
}