TweetV2 class
Constructors
const
factory
Properties
attachments
→ TweetV2Attachment
Specifies the type of attachments (if any) present in this Tweet.
FOr the sake of this package we are only interested in media attachments
final
authorId
→ String ?
The unique identifier of the User who posted this Tweet. The user object could be found by this id inside
TweetV2Response::includes::users
final
createdAt
→ String ?
Creation time of the Tweet. In ISO 8601 format
final
entities
→ TweetEntitiesV2
Entities which have been parsed out of the text of the Tweet.
final
hashCode
→ int
The hash code for this object.
no setter inherited
id
→ String
The unique identifier of the requested Tweet.
final
publicMetrics
→ TweetV2PublicMetrics
Public engagement metrics for the Tweet at the time of the request.
final
A list of Tweets this Tweet refers to.
For example, if the parent Tweet is a Retweet, a Retweet with comment (also known as Quoted Tweet) or a Reply,
it will include the related Tweet referenced to by its parent.
In this field we will only get ids of the tweets. Proper object will be included in TweetV2Response::includes::tweets
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
text
→ String
The actual UTF-8 text of the Tweet. See twitter-text
for details on what characters are currently considered valid.
final
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited