removeProduct method

void removeProduct(
  1. Product product
)

Implementation

void removeProduct(Product product) {
  items.remove(product);
}