LatLng
Constructors
LatLng.new
LatLng.new(double latitude, double longitude)Creates a geographical location specified in degrees latitude and longitude. const
LatLng.fromJson
LatLng.fromJson(Map<String, dynamic> json)factory
Properties
| Property | Type | Description |
|---|---|---|
hashCode | int | The hash code for this object. (no setteroverride) |
latitude | double | The latitude in degrees. (final) |
longitude | double | The longitude in degrees. (final) |
Methods
toJson
toJson() → Map<String, dynamic>Converts this object to something serializable in JSON.
Last updated on