Venue class

This object represents a venue.

https://core.telegram.org/bots/api#venue

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

Venue({Location? location, String? title, String? address, String? foursquareID, String? foursquareType})
Venue.fromJson(Map<String, dynamic> json)
factory

Properties

address ↔ String?
Address of the venue.
getter/setter pair
foursquareID ↔ String?
Optional. Foursquare identifier of the venue.
getter/setter pair
foursquareType ↔ String?
Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
location ↔ Location?
Venue location.
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<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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