LatLng class

This class represent geo location object

Constructors

LatLng({required double lat, required double lng})
Default constructor. Creates LatLng object
LatLng.fromJson(Map<String, dynamic> json)
Created LatLng object from JSON Data

Properties

hashCode int
The hash code for this object.
no setterinherited
lat double
Latitude in radian
getter/setter pair
lng double
Longitude in radian
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, double>
Creates JSON Data object from LatLng
toString() String
A string representation of this object.
inherited
woosmapObject() String
Return Woosmap LatLng https://developers.woosmap.com/products/map-api/reference/1.4/#woosmap.map.LatLng

Operators

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