UCommentResponse constructor
UCommentResponse({
- required String id,
- required DateTime createdAt,
- required DateTime updatedAt,
- required UCommentJson jsonData,
- required List<
int> tags, - required double score,
- required String description,
- required String userId,
- String? parentId,
- UCommentResponse? parent,
- UUserResponse? user,
- UUserResponse? targetUser,
- String? targetUserId,
- UProductResponse? product,
- String? productId,
- List<
UCommentResponse> ? children, - 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,
});