LatLng class

a Class represent a point on the map by its coordinates (latitude,longitude)

Constructors

LatLng({required double lat, required double lng})
LatLng.fromJson(String json)
Build a LatLng object from json String
LatLng.fromMap(Map<String, dynamic> data)
Build a LatLng object from Map

Properties

hashCode int
The hash code for this object.
no setteroverride
lat double
latitude of the point.
latefinal
lng double
longitude of the point.
latefinal
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() String
Convert the LatLng obejct to json String.
toMap() Map<String, double>
Convert the LatLng obejct to Map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override