BlogEntry.createClone constructor
BlogEntry.createClone(
- BlogEntry entry
Implementation
BlogEntry.createClone(BlogEntry entry) :
id = entry.id,
ownerId = entry.ownerId,
profileName = entry.profileName,
profileImgUrl = entry.profileImgUrl,
title = entry.title,
content = entry.content,
thumbnailUrl = entry.thumbnailUrl,
hashtags = List<String>.from(entry.hashtags),
createdTime = entry.createdTime,
modifiedTime = entry.modifiedTime,
publishedTime = entry.publishedTime,
position = entry.position,
location = entry.location,
isDraft = entry.isDraft,
isHidden = entry.isHidden,
isCommentEnabled = entry.isCommentEnabled,
themeMode = entry.themeMode,
savedByProfiles = List<String>.from(entry.savedByProfiles),
viewCount = entry.viewCount,
verificationLevel = entry.verificationLevel,
legacyPostId = entry.legacyPostId,
slug = entry.slug;