Location class

定位结果 model

Constructors

Location({@required String address, @required LatLng latLng, @required double altitude, @required double bearing, @required String country, @required String province, @required String city, @required String cityCode, @required String adCode, @required String district, @required String poiName, @required String street, @required String streetNumber, @required String aoiName, @required double accuracy, @required double speed})

Properties

accuracy double
精度
read / write
adCode String
邮编
read / write
address String
地址全称
read / write
altitude double
海拔
read / write
aoiName String
aoi名称
read / write
bearing double
设备朝向/移动方向
read / write
city String
城市
read / write
cityCode String
城市编号
read / write
country String
国家
read / write
district String
区域
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
latLng LatLng
经纬度
read / write
poiName String
poi名称
read / write
province String
省份
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
speed double
速度
read / write
street String
街道
read / write
streetNumber String
街道号
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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