Location class Null safety

定位结果 model

Constructors

Location({String? address, LatLng? latLng, double? altitude, double? bearing, String? country, String? province, String? city, String? cityCode, String? adCode, String? district, String? poiName, String? street, String? streetNumber, String? aoiName, double? accuracy, 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-onlyinherited
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-onlyinherited
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