InputVenueMessageContent class

Represents the content of a venue message to be sent as the result of an inline query.

Inheritance

Constructors

InputVenueMessageContent(double latitude, double longitude, String title, String address, {String? foursquareId, String? foursquareType, String? googlePlaceId, String? googlePlaceType})
Basic constructor

Properties

address ↔ String
Address of the venue
getter/setter pair
foursquareId ↔ String?
Optional. Foursquare identifier of the venue, if known
getter/setter pair
foursquareType ↔ String?
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
getter/setter pair
googlePlaceId ↔ String?
Optional. Google Places identifier of the venue
getter/setter pair
googlePlaceType ↔ String?
Optional. Google Places type of the venue.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
latitude ↔ double
Latitude of the venue in degrees
getter/setter pair
longitude ↔ double
Longitude of the venue in degrees
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title ↔ String
Name of the venue
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map
Creates a json from the object
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → InputVenueMessageContent
Creates a object from a json