TaskCommentsModel constructor

TaskCommentsModel({
  1. String? id,
  2. String? comment,
  3. String? userId,
  4. String? profilePic,
  5. String? userName,
  6. Timestamp? createdAt,
  7. Timestamp? deletedAt,
  8. String? taskId,
  9. String? attachmentLink,
  10. String? fileExtension,
  11. String? fileName,
  12. String? thumbnailPath,
})

Implementation

TaskCommentsModel({
    String? id,
    String? comment,
    String? userId,
    String? profilePic,
    String? userName,
  Timestamp? createdAt,
  Timestamp? deletedAt,
    String? taskId,
    String? attachmentLink,
    String? fileExtension,
    String? fileName,
    String? thumbnailPath,}){
  _id = id;
  _comment = comment;
  _userId = userId;
  _profilePic = profilePic;
  _userName = userName;
  _createdAt = createdAt;
  _deletedAt = deletedAt;
  _taskId = taskId;
  _attachmentLink = attachmentLink;
  _fileExtension = fileExtension;
  _fileName = fileName;
  _thumbnailPath = thumbnailPath;
}