Project constructor

Project({
  1. required String id,
  2. required String name,
  3. String? slug,
  4. String customerName = '',
  5. String? image,
  6. String imageThumb = '',
  7. String imagePreview = '',
  8. String? website,
  9. String? description,
  10. bool? gallery,
  11. bool? translationsDe,
  12. bool? translationsEn,
  13. bool? translationsFr,
  14. bool? translationsIt,
  15. bool? backlinkUrls,
  16. List<ActiveOrder> orders = const [],
  17. Map<String, Object>? arbuttonConfig = const {},
  18. required DateTime created,
  19. required DateTime modified,
})

Returns a new Project instance.

Implementation

Project({
  required this.id,
  required this.name,
  this.slug,
  this.customerName = '',
  this.image,
  this.imageThumb = '',
  this.imagePreview = '',
  this.website,
  this.description,
  this.gallery,
  this.translationsDe,
  this.translationsEn,
  this.translationsFr,
  this.translationsIt,
  this.backlinkUrls,
  this.orders = const [],
  this.arbuttonConfig = const {},
  required this.created,
  required this.modified,
});