BlogEntry constructor

BlogEntry({
  1. String id = '',
  2. String ownerId = '',
  3. String profileName = '',
  4. String profileImgUrl = '',
  5. String title = '',
  6. String content = '',
  7. String thumbnailUrl = '',
  8. List<String> hashtags = const [],
  9. int createdTime = 0,
  10. int modifiedTime = 0,
  11. int publishedTime = 0,
  12. Position? position,
  13. String location = '',
  14. bool isDraft = true,
  15. bool isHidden = false,
  16. bool isCommentEnabled = true,
  17. String themeMode = 'dark',
  18. List<String> savedByProfiles = const [],
  19. int viewCount = 0,
  20. VerificationLevel? verificationLevel,
  21. String? legacyPostId,
  22. String slug = '',
})

Implementation

BlogEntry({
  this.id = '',
  this.ownerId = '',
  this.profileName = '',
  this.profileImgUrl = '',
  this.title = '',
  this.content = '',
  this.thumbnailUrl = '',
  this.hashtags = const [],
  this.createdTime = 0,
  this.modifiedTime = 0,
  this.publishedTime = 0,
  this.position,
  this.location = '',
  this.isDraft = true,
  this.isHidden = false,
  this.isCommentEnabled = true,
  this.themeMode = 'dark',
  this.savedByProfiles = const [],
  this.viewCount = 0,
  this.verificationLevel,
  this.legacyPostId,
  this.slug = '',
});