BlogEntry constructor
BlogEntry({
- String id = '',
- String ownerId = '',
- String profileName = '',
- String profileImgUrl = '',
- String title = '',
- String content = '',
- String thumbnailUrl = '',
- List<
String> hashtags = const [], - int createdTime = 0,
- int modifiedTime = 0,
- int publishedTime = 0,
- Position? position,
- String location = '',
- bool isDraft = true,
- bool isHidden = false,
- bool isCommentEnabled = true,
- String themeMode = 'dark',
- List<
String> savedByProfiles = const [], - int viewCount = 0,
- VerificationLevel? verificationLevel,
- String? legacyPostId,
- 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 = '',
});