GeoService class abstract

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

Constructors

GeoService({required ClientContext context})
Returns the new instance of GeoService.
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

lookupById({required String placeId}) Future<TwitterResponse<PlaceData, void>>
Returns place data associated with a specific place ID.
lookupReverseGeocodedLocations({required double latitude, required double longitude, int? maxResults, String? accuracy, GeoGranularity? granularity}) Future<TwitterResponse<List<PlaceData>, void>>
Search for places that can be attached to a Tweet.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchLocations({String? query, GeoGranularity? granularity, int? maxResults, double? latitude, double? longitude, String? ipAddress}) Future<TwitterResponse<List<PlaceData>, void>>
Search for places that can be attached to a Tweet.
toString() String
A string representation of this object.
inherited

Operators

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