addProduct method

void addProduct(
  1. Product product
)

Implementation

void addProduct(Product product) {
  items.add(product);
}