BMFAddressComponent class

此类表示地址结果的层次化信息

Constructors

BMFAddressComponent({String? country, String? province, String? city, String? district, String? town, String? streetName, String? streetNumber, String? adCode, String? townCode, String? countryCode, String? direction, String? distance})
有参构造
BMFAddressComponent.fromMap(Map map)
map => BMFAddressComponent

Properties

adCode ↔ String?
行政区域编码
getter/setter pair
city ↔ String?
城市名称
getter/setter pair
country ↔ String?
国家
getter/setter pair
countryCode ↔ String?
国家代码
getter/setter pair
direction ↔ String?
相对当前坐标点的方向,当有门牌号的时候返回数据
getter/setter pair
distance ↔ String?
相对当前坐标点的距离,当有门牌号的时候返回数据
getter/setter pair
district ↔ String?
区县名称
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
province ↔ String?
省份名称
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streetName ↔ String?
街道名称
getter/setter pair
streetNumber ↔ String?
街道号码
getter/setter pair
town ↔ String?
乡镇
getter/setter pair
townCode ↔ String?
乡镇编码
getter/setter pair

Methods

fromMap(Map map) → dynamic
map -> dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
model -> map
toString() → String
A string representation of this object.
inherited

Operators

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