LngLat class

LngLat representative class of geographic point for longitude and latitude

lng : (double) longitude value

lat : (double) latitude value

Available extensions

Constructors

LngLat({required double lng, required double lat})
LngLat.fromList({required List<double> lnglat})

Properties

hashCode int
The hash code for this object.
no setteroverride
lat double
final
lng double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

distance({required LngLat location}) double

Available on LngLat, provided by the ExtLngLat extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList() List<double>

Available on LngLat, provided by the ExtLngLat extension

toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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