BaiduLocation class

百度定位结果类,用于存储各类定位结果信息

Constructors

BaiduLocation({String locTime, int locType, double radius, double latitude, double longitude, double altitude, String country, String province, String city, String district, String street, String address, String locationDetail, String poiList, String callbackTime, int errorCode, String errorInfo})
定位失败描述信息
BaiduLocation.fromMap(dynamic value)
根据传入的map生成BaiduLocation对象
factory

Properties

address String
街道
final
altitude double
经度
final
callbackTime String
周边poi信息,每个poi之间用"|"隔开
final
city String
省份
final
country String
高度
final
district String
城市
final
errorCode int
定位结果回调时间
final
errorInfo String
错误码
final
hashCode int
The hash code for this object. [...]
read-only, inherited
latitude double
精度
final
locationDetail String
地址
final
locTime String
final
locType int
定位成功时间
final
longitude double
纬度
final
poiList String
位置语义化描述,例如"在百度大厦附近"
final
province String
国家
final
radius double
定位结果类型
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
street String
区县
final

Methods

getMap() Map
获取对本类所有变量赋值后的map键值对
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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