TwitterApi constructor
TwitterApi({
- required AbstractTwitterClient client,
Implementation
TwitterApi({
required this.client,
}) : userService = UserService(client: client),
tweetService = TweetService(client: client),
tweetSearchService = TweetSearchService(client: client),
timelineService = TimelineService(client: client),
mediaService = MediaService(client: client),
listsService = ListsService(client: client),
directMessagesService = DirectMessagesService(client: client),
trendsService = TrendsService(client: client);