Geo constructor
- @JsonSerializable(includeIfNull: false)
const
Geo(
{ - String? placeId,
- GeoCoordinates? coordinates,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory Geo({
/// The unique identifier of the place, if this is a point of interest
/// tagged in the Tweet.
///
/// You can obtain the expanded object in includes.places by adding
/// `TweetExpansion.geoPlaceId` in the request's query parameter.
String? placeId,
/// Contains details about the coordinates of the location tagged by the
/// user in this Tweet, if they specified one.
GeoCoordinates? coordinates,
}) = _Geo;