TweetVM constructor
const
TweetVM({
- required String? createdAt,
- required bool hasSupportedVideo,
- required List<
Entity> allEntities, - required bool hasPhoto,
- required bool hasGif,
- required String tweetLink,
- required String userLink,
- required String text,
- required Runes textRunes,
- required String? profileUrl,
- required List<
String> allPhotos, - required String userName,
- required String userScreenName,
- TweetVM? quotedTweet,
- TweetVM? retweetedTweet,
- required bool userVerified,
- String? videoPlaceholderUrl,
- required Map<
String, String> videoUrls, - double? videoAspectRatio,
- int? favoriteCount,
- int? repliesCount,
- int? startDisplayText,
- int? endDisplayText,
- required bool favorited,
- required bool replied,
Implementation
const TweetVM({
required this.createdAt,
required this.hasSupportedVideo,
required this.allEntities,
required this.hasPhoto,
required this.hasGif,
required this.tweetLink,
required this.userLink,
required this.text,
required this.textRunes,
required this.profileUrl,
required this.allPhotos,
required this.userName,
required this.userScreenName,
this.quotedTweet,
this.retweetedTweet,
required this.userVerified,
this.videoPlaceholderUrl,
required this.videoUrls,
this.videoAspectRatio,
this.favoriteCount,
this.repliesCount,
this.startDisplayText,
this.endDisplayText,
required this.favorited,
required this.replied,
});