Model constructor
Model({
- required String id,
- required String project,
- required String name,
- String? nameDe,
- String? nameEn,
- String? nameFr,
- String? nameIt,
- String? slug,
- String? image,
- String imageThumb = '',
- String imagePreview = '',
- bool? preview,
- ModelStatus? status,
- String description = '',
- String? descriptionDe,
- String? descriptionEn,
- String? descriptionFr,
- String? descriptionIt,
- int? number,
- String siteUrl = '',
- String? siteUrlDe,
- String? siteUrlEn,
- String? siteUrlFr,
- String? siteUrlIt,
- String? sku,
- double? price,
- String priceCurrency = 'CHF',
- bool? scaleable,
- String? glb,
- String? usdz,
- String? model,
- Map<
String, Object> arbuttonConfig = const {}, - required DateTime created,
- required DateTime modified,
- 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,
});