UProductResponse constructor

UProductResponse({
  1. required String id,
  2. required DateTime createdAt,
  3. required DateTime updatedAt,
  4. required UProductJson jsonData,
  5. required List<int> tags,
  6. required String title,
  7. required int point,
  8. required String userId,
  9. required int? visitCount,
  10. String? code,
  11. String? subtitle,
  12. String? description,
  13. String? slug,
  14. String? type,
  15. String? content,
  16. double? latitude,
  17. double? longitude,
  18. int? stock,
  19. double? price,
  20. String? parentId,
  21. UProductResponse? parent,
  22. UUserResponse? user,
  23. List<UProductResponse>? children,
  24. List<UMediaResponse>? media,
  25. List<UCategoryResponse>? categories,
  26. int? commentCount,
  27. bool? isFollowing,
  28. int? childrenCount,
})

Implementation

UProductResponse({
  required this.id,
  required this.createdAt,
  required this.updatedAt,
  required this.jsonData,
  required this.tags,
  required this.title,
  required this.point,
  required this.userId,
  required this.visitCount,
  this.code,
  this.subtitle,
  this.description,
  this.slug,
  this.type,
  this.content,
  this.latitude,
  this.longitude,
  this.stock,
  this.price,
  this.parentId,
  this.parent,
  this.user,
  this.children,
  this.media,
  this.categories,
  this.commentCount,
  this.isFollowing,
  this.childrenCount,
});