TrendsService class abstract

This class provides methods to easily access endpoints based on Trends.

Constructors

TrendsService({required ClientContext context})
Returns the new instance of TrendsService.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

lookupTrends({required int locationId, List<String>? excludeHashtags}) Future<TwitterResponse<List<TrendData>, void>>
Returns the top 50 trending topics for a specific id, if trending information is available for it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchAvailableLocations() Future<TwitterResponse<List<TrendingLocationData>, void>>
Returns the locations that Twitter has trending topic information for.
searchClosestLocations({required double latitude, required double longitude}) Future<TwitterResponse<List<TrendingLocationData>, void>>
Returns the locations that Twitter has trending topic information for, closest to a specified location.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited