Location class

Describes a location on planet Earth.

Inheritance
Available Extensions

Constructors

Location({required double latitude, required double longitude, required double horizontal_accuracy, int? extra, int? clientId})
Describes a location on planet Earth

Properties

clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode → int
The hash code for this object.
read-onlyinherited
horizontal_accuracy ↔ double
The estimated horizontal accuracy of the location, in meters; as defined by the sender. 0 if unknown.
read / write
latitude ↔ double
Latitude of the location in degrees; as defined by the sender.
read / write
longitude ↔ double
Longitude of the location, in degrees; as defined by the sender.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Object to Map serializer
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) → Location?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"location"