Location class

Constructors

Location({LatLng? latLng, double? accuracy, String? address, String? city, String? country, String? district, String? street, String? province, String? cityCode, String? adCode})
Location.fromJson(Map json)
factory

Properties

accuracy double?
精准度 在web端直接返回0
final
adCode String?
地址编码
final
address String?
地址
final
city String?
final
cityCode String?
城市编码
final
country String?
国家
final
district String?
final
hashCode int
The hash code for this object.
no setterinherited
latLng LatLng?
final
province String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
street String?
街道
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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