Tweet constructor

Tweet({
  1. required String createdAt,
  2. required double id,
  3. required String idStr,
  4. Tweet? quotedStatus,
  5. Tweet? retweetedStatus,
  6. required String text,
  7. TweetEntities entities = const TweetEntities.empty(),
  8. TweetEntities extendedEntities = const TweetEntities.empty(),
  9. required User user,
  10. bool isQuoteStatus = false,
  11. bool? favorited,
  12. int? favoriteCount,
  13. List<int>? displayTextRange,
})

Implementation

Tweet({
  required this.createdAt,
  required this.id,
  required this.idStr,
  this.quotedStatus,
  this.retweetedStatus,
  required this.text,
  this.entities = const TweetEntities.empty(),
  this.extendedEntities = const TweetEntities.empty(),
  required this.user,
  this.isQuoteStatus = false,
  this.favorited,
  this.favoriteCount,
  this.displayTextRange,
});