Location class

Constructors

Location({num? accuracy, String? adCode, String? address, num? altitude, String? aoiName, num? bearing, String? buildingId, String? city, String? cityCode, String? coordType, String? country, String? district, num? errorCode, String? errorInfo, int? floor, num? gpsAccuracyStatus, bool? isFixLastLocation, bool? isMock, bool? isOffset, num? latitude, String? locationDetail, LocationQualityReport? locationQualityReport, num? locationType, num? longitude, String? poiName, String? provider, String? province, num? satellites, num? speed, String? street, String? streetNum, num? trustedLevel, num? time})
Location.fromJson(Map<String, dynamic> json)

Properties

accuracy num?
getter/setter pair
adCode String?
getter/setter pair
address String?
getter/setter pair
altitude num?
getter/setter pair
aoiName String?
getter/setter pair
bearing num?
getter/setter pair
buildingId String?
getter/setter pair
city String?
getter/setter pair
cityCode String?
getter/setter pair
coordType String?
getter/setter pair
country String?
getter/setter pair
district String?
getter/setter pair
errorCode num?
getter/setter pair
errorInfo String?
getter/setter pair
floor int?
getter/setter pair
gpsAccuracyStatus num?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isFixLastLocation bool?
getter/setter pair
isMock bool?
getter/setter pair
isOffset bool?
getter/setter pair
latitude num?
getter/setter pair
locationDetail String?
getter/setter pair
locationQualityReport LocationQualityReport?
getter/setter pair
locationType num?
getter/setter pair
longitude num?
getter/setter pair
poiName String?
getter/setter pair
provider String?
getter/setter pair
province String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
satellites num?
getter/setter pair
speed num?
getter/setter pair
street String?
getter/setter pair
streetNum String?
getter/setter pair
time num?
getter/setter pair
trustedLevel num?
getter/setter pair

Methods

copyWith({num? accuracy, String? adCode, String? address, num? altitude, String? aoiName, num? bearing, String? buildingId, String? city, String? cityCode, String? coordType, String? country, String? district, num? errorCode, String? errorInfo, int? floor, num? gpsAccuracyStatus, bool? isFixLastLocation, bool? isMock, bool? isOffset, num? latitude, String? locationDetail, LocationQualityReport? locationQualityReport, num? locationType, num? longitude, String? poiName, String? provider, String? province, num? satellites, num? speed, String? street, String? streetNum, num? trustedLevel}) Location
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override