Geo constructor

  1. @JsonSerializable(includeIfNull: false)
const Geo({
  1. String? placeId,
  2. 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;