TrendsService class

Constructors

TrendsService({required AbstractTwitterClient client})
const

Properties

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

Methods

available({TransformResponse<List<TrendLocation>> transform = defaultTrendLocationsTransform}) Future<List<TrendLocation>>
Returns the locations that Twitter has trending topic information for.
closest({required String lat, required String long, TransformResponse<List<TrendLocation>> transform = defaultTrendLocationsTransform}) Future<List<TrendLocation>>
Returns the locations that Twitter has trending topic information for, closest to a specified location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
place({required int id, String? exclude, TransformResponse<List<Trends>> transform = defaultTrendsListTransform}) Future<List<Trends>>
Returns the top 50 trending topics for a specific WOEID, if trending information is available for it.
toString() String
A string representation of this object.
inherited

Operators

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