CommentViewModel constructor

CommentViewModel({
  1. int? id,
  2. String? body,
  3. int? entityId,
  4. CommentType? entityType,
  5. UserViewModel? user,
  6. DateTime? updatedAt,
  7. DateTime? createdAt,
})

Implementation

CommentViewModel({
  this.id,
  this.body,
  this.entityId,
  this.entityType,
  this.user,
  this.updatedAt,
  this.createdAt,
});