CommentViewModel constructor
CommentViewModel({
- int? id,
- String? body,
- int? entityId,
- CommentType? entityType,
- UserViewModel? user,
- DateTime? updatedAt,
- DateTime? createdAt,
Implementation
CommentViewModel({
this.id,
this.body,
this.entityId,
this.entityType,
this.user,
this.updatedAt,
this.createdAt,
});