TweetVM constructor

const TweetVM({
  1. required String? createdAt,
  2. required bool hasSupportedVideo,
  3. required List<Entity> allEntities,
  4. required bool hasPhoto,
  5. required bool hasGif,
  6. required String tweetLink,
  7. required String userLink,
  8. required String text,
  9. required Runes textRunes,
  10. required String? profileUrl,
  11. required List<String> allPhotos,
  12. required String userName,
  13. required String userScreenName,
  14. TweetVM? quotedTweet,
  15. TweetVM? retweetedTweet,
  16. required bool userVerified,
  17. String? videoPlaceholderUrl,
  18. required Map<String, String> videoUrls,
  19. double? videoAspectRatio,
  20. int? favoriteCount,
  21. int? repliesCount,
  22. int? startDisplayText,
  23. int? endDisplayText,
  24. required bool favorited,
  25. 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,
});