addProduct method

void addProduct(
  1. dynamic product
)

Implementation

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