Skip to Content

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

PropertyTypeDescription
hashCodeintThe hash code for this object. (no setteroverride)
latitudedoubleThe latitude in degrees. (final)
longitudedoubleThe longitude in degrees. (final)

Methods

toJson

toJson() → Map<String, dynamic>

Converts this object to something serializable in JSON.

Last updated on