Model constructor

Model({
  1. required String id,
  2. required String project,
  3. required String name,
  4. String? nameDe,
  5. String? nameEn,
  6. String? nameFr,
  7. String? nameIt,
  8. String? slug,
  9. String? image,
  10. String imageThumb = '',
  11. String imagePreview = '',
  12. bool? preview,
  13. ModelStatus? status,
  14. String description = '',
  15. String? descriptionDe,
  16. String? descriptionEn,
  17. String? descriptionFr,
  18. String? descriptionIt,
  19. int? number,
  20. String siteUrl = '',
  21. String? siteUrlDe,
  22. String? siteUrlEn,
  23. String? siteUrlFr,
  24. String? siteUrlIt,
  25. String? sku,
  26. double? price,
  27. String priceCurrency = 'CHF',
  28. bool? scaleable,
  29. String? glb,
  30. String? usdz,
  31. String? model,
  32. Map<String, Object> arbuttonConfig = const {},
  33. required DateTime created,
  34. required DateTime modified,
  35. bool? verticalPlacement,
})

Returns a new Model instance.

Implementation

Model({
  required this.id,
  required this.project,
  required this.name,
  this.nameDe,
  this.nameEn,
  this.nameFr,
  this.nameIt,
  this.slug,
  this.image,
  this.imageThumb = '',
  this.imagePreview = '',
  this.preview,
  this.status,
  this.description = '',
  this.descriptionDe,
  this.descriptionEn,
  this.descriptionFr,
  this.descriptionIt,
  this.number,
  this.siteUrl = '',
  this.siteUrlDe,
  this.siteUrlEn,
  this.siteUrlFr,
  this.siteUrlIt,
  this.sku,
  this.price,
  this.priceCurrency = 'CHF',
  this.scaleable,
  this.glb,
  this.usdz,
  this.model,
  this.arbuttonConfig = const {},
  required this.created,
  required this.modified,
  this.verticalPlacement,
});