Tweet constructor
Tweet({
- required String createdAt,
- required double id,
- required String idStr,
- Tweet? quotedStatus,
- Tweet? retweetedStatus,
- required String text,
- TweetEntities entities = const TweetEntities.empty(),
- TweetEntities extendedEntities = const TweetEntities.empty(),
- required User user,
- bool isQuoteStatus = false,
- bool? favorited,
- int? favoriteCount,
- 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,
});