LatLng class Null safety

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. [...]
read-only, override
lat double
latitude of the point.
late, final
lng double
longitude of the point.
late, final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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