UCommentResponse constructor

UCommentResponse({
  1. required String id,
  2. required DateTime createdAt,
  3. required DateTime updatedAt,
  4. required UCommentJson jsonData,
  5. required List<int> tags,
  6. required double score,
  7. required String description,
  8. required String userId,
  9. String? parentId,
  10. UCommentResponse? parent,
  11. UUserResponse? user,
  12. UUserResponse? targetUser,
  13. String? targetUserId,
  14. UProductResponse? product,
  15. String? productId,
  16. List<UCommentResponse>? children,
  17. List<UMediaResponse>? media,
})

Implementation

UCommentResponse({
  required this.id,
  required this.createdAt,
  required this.updatedAt,
  required this.jsonData,
  required this.tags,
  required this.score,
  required this.description,
  required this.userId,
  this.parentId,
  this.parent,
  this.user,
  this.targetUser,
  this.targetUserId,
  this.product,
  this.productId,
  this.children,
  this.media,
});