BMFAddressComponent class Null safety
此类表示地址结果的层次化信息
Constructors
- BMFAddressComponent({String? country, String? province, String? city, String? district, String? town, String? streetName, String? streetNumber, String? adCode, String? countryCode, String? direction, String? distance})
- 有参构造
- BMFAddressComponent.fromMap(Map map)
- map => BMFAddressComponent
Properties
- adCode ↔ String?
-
行政区域编码
read / write
- city ↔ String?
-
城市名称
read / write
- country ↔ String?
-
国家
read / write
- countryCode ↔ String?
-
国家代码
read / write
- direction ↔ String?
-
相对当前坐标点的方向,当有门牌号的时候返回数据
read / write
- distance ↔ String?
-
相对当前坐标点的距离,当有门牌号的时候返回数据
read / write
- district ↔ String?
-
区县名称
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- province ↔ String?
-
省份名称
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- streetName ↔ String?
-
街道名称
read / write
- streetNumber ↔ String?
-
街道号码
read / write
- town ↔ String?
-
乡镇
read / write
Methods
-
fromMap(
Map map) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited