TweetService class
Methods
createFavorite ({required String id , bool ? includeEntities , bool ? includeExtEditControl , TransformResponse <Tweet > transform = defaultTweetTransform })
→ Future <Tweet >
Favorites (likes) the Tweet specified in the ID parameter as the
authenticating user. Returns the favorite Tweet when successful.
destroy ({required String id , bool ? trimUser , bool ? includeExtEditControl , TransformResponse <Tweet > transform = defaultTweetTransform })
→ Future <Tweet >
Destroys the status specified by the required ID parameter. The
authenticating user must be the author of the specified status. Returns
the destroyed status if successful.
destroyFavorite ({required String id , bool ? includeEntities , bool ? includeExtEditControl , TransformResponse <Tweet > transform = defaultTweetTransform })
→ Future <Tweet >
Unfavorites (un-likes) the Tweet specified in the ID parameter as the
authenticating user. Returns the un-liked Tweet when successful.
listFavorites ({String ? userId , String ? screenName , int ? count , String ? sinceId , String ? maxId , bool ? includeEntities , bool ? includeExtEditControl , TransformResponse <List <Tweet > > transform = defaultTweetListTransform })
→ Future <List <Tweet > >
Returns the 20 most recent Tweets liked by the authenticating or specified
user.
lookup ({required List <String > id , bool ? includeEntities , bool ? trimUser , bool ? map , bool ? includeExtAltText , bool ? includeCardUri , bool ? includeExtEditControl , TransformResponse <List <Tweet > > transform = defaultTweetListTransform })
→ Future <List <Tweet > >
Returns fully-hydrated Tweet objects for up to 100 Tweets per request, as
specified by comma-separated values passed to the id parameter.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Retweets a tweet. Returns the original Tweet with Retweet details
embedded.
Returns a collection of up to 100 user IDs belonging to users who have
retweeted the Tweet specified by the id
parameter.
Returns a collection of the 100 most recent retweets of the Tweet
specified by the id
parameter.
Returns the most recent Tweets authored by the authenticating user that
have been retweeted by others. This timeline is a subset of the user's GET
statuses / user_timeline.
show ({required String id , bool ? trimUser , bool ? includeEntities , bool ? includeExtAltText , bool ? includeCardUri , bool ? includeExtEditControl , TransformResponse <Tweet > transform = defaultTweetTransform })
→ Future <Tweet >
Returns a single Tweet, specified by the id
parameter. The Tweet's
author will also be embedded within the Tweet.
toString ()
→ String
A string representation of this object.
inherited
Untweets a retweeted status. Returns the original Tweet with Retweet
details embedded.
update ({required String status , String ? inReplyToStatusId , bool ? autoPopulateReplyMetadata , List <String > ? excludeReplyUserId , String ? attachmentUrl , List <String > ? mediaIds , bool ? possiblySensitive , double ? lat , double ? long , String ? placeId , bool ? displayCoordinates , bool ? trimUser , bool ? enableDmcommands , bool ? failDmcommands , String ? cardUri , bool ? includeExtEditControl , TransformResponse <Tweet > transform = defaultTweetTransform })
→ Future <Tweet >
Updates the authenticating user's current status, also known as Tweeting.