Location class

地点描述相关协议

Constructors

Location({required String type, String? country, String? province, String? provinceAddr, String? city, String? cityAddr, String? area, String? areaAddr, String? street, String? streets, String? region, String? poi})
const
Location.fromJson(Map json)
factory

Properties

area String?
县区
final
areaAddr String?
县区简称
final
city String?
市全称(包括港澳)
final
cityAddr String?
市简称
final
country String?
国别简称(参见附录的对照表)
final
hashCode int
The hash code for this object.
no setterinherited
poi String?
机构等名称,CURRENT_POI表示当前地点
final
province String?
省全称(包括直辖市、台)
final
provinceAddr String?
省简称
final
region String?
区域名称
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
street String?
道路名称
final
streets String?
交叉路口的另一道路名称
final
type String
地点类型
final

Methods

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

Operators

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