TwitterApi class
The TwitterApi provides the services used to make requests to the Twitter API.
The client is used by the services to make the authenticated requests. By default, the TwitterClient can be used.
A single app wide instance of TwitterApi can be used to make continuous requests.
Constructors
- TwitterApi({required AbstractTwitterClient client})
Properties
- client → AbstractTwitterClient
-
The client to handle http requests.
final
- directMessagesService → DirectMessagesService
-
Handles sending and receiving direct message events.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- listsService → ListsService
-
Handles creating and managing lists.
final
- mediaService → MediaService
-
Handles uploading Tweet media.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timelineService → TimelineService
-
Handles retrieving Tweet timelines.
final
- trendsService → TrendsService
-
An API to return the trending topics near a specific latitude, longitude
location.
final
- tweetSearchService → TweetSearchService
-
Handles searching Tweets.
final
- tweetService → TweetService
-
Handles engagement with Tweets.
final
- userService → UserService
-
Handles following, searching and retrieving Users.
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited