ProductCollection constructor

const ProductCollection({
  1. required List<ProductCollectionElement> products,
  2. int? totalItems,
  3. int? totalPages,
  4. List<LinkDescription>? links,
})

Implementation

const ProductCollection(
    {required this.products, this.totalItems, this.totalPages, this.links});