Location class

This object represents a point on the map.

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

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

Location({double? longitude, double? latitude})
Location.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
latitude ↔ double?
Latitude as defined by sender.
getter/setter pair
longitude ↔ double?
Longitude as defined by sender.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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