Product constructor

const Product({
  1. required String id,
  2. required String name,
  3. String? description,
  4. ProductType? type,
  5. String? category,
  6. String? imageUrl,
  7. String? homeUrl,
  8. required String createTime,
  9. String? updateTime,
  10. List<LinkDescription>? links,
})

Implementation

const Product(
    {required this.id,
    required this.name,
    this.description,
    this.type,
    this.category,
    this.imageUrl,
    this.homeUrl,
    required this.createTime,
    this.updateTime,
    this.links});