UProductResponse constructor

UProductResponse({
  1. required String id,
  2. required DateTime createdAt,
  3. required UProductJson jsonData,
  4. required List<int> tags,
  5. required String title,
  6. required int point,
  7. required String creatorId,
  8. required List<String> adminUserIds,
  9. required int order,
  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. String? parentId,
  20. UUserResponse? creator,
  21. List<UProductResponse>? children,
  22. List<UMediaResponse>? media,
  23. List<UCategoryResponse>? categories,
  24. int? commentCount,
  25. bool? isFollowing,
  26. int? childrenCount,
})

Implementation

UProductResponse({
  required this.id,
  required this.createdAt,
  required this.jsonData,
  required this.tags,
  required this.title,
  required this.point,
  required this.creatorId,
  required this.adminUserIds,
  required this.order,
  this.code,
  this.subtitle,
  this.description,
  this.slug,
  this.type,
  this.content,
  this.latitude,
  this.longitude,
  this.stock,
  this.parentId,
  this.creator,
  this.children,
  this.media,
  this.categories,
  this.commentCount,
  this.isFollowing,
  this.childrenCount,
});