RichComponent.productList constructor

  1. @FreezedUnionValue.new('product_list')
const RichComponent.productList({
  1. required String id,
  2. required List<RichComponent> items,
  3. ProductListConfig? config,
})

Product list component for vertical or grid layouts

Implementation

@FreezedUnionValue('product_list')
const factory RichComponent.productList({
  required String id,
  required List<RichComponent> items,
  ProductListConfig? config,
}) = ProductListComponent;