Collection constructor

Collection({
  1. required String title,
  2. required String id,
  3. required Products products,
  4. String? cursor,
  5. String? description,
  6. String? descriptionHtml,
  7. String? handle,
  8. String? updatedAt,
  9. ShopifyImage? image,
})

The collection constructor

Implementation

factory Collection({
  required String title,
  required String id,
  required Products products,
  String? cursor,
  String? description,
  String? descriptionHtml,
  String? handle,
  String? updatedAt,
  ShopifyImage? image,
}) = _Collection;