BackgroundLocationUpdateData class

BackgroundLocationUpdateData will contain all the data that is send when getting a background location update

latitude & longitude

Constructors

BackgroundLocationUpdateData({required double lat, required double lon, required double horizontalAccuracy, required double alt, required double verticalAccuracy, required double course, required double courseAccuracy, required double speed, required double speedAccuracy})
const
BackgroundLocationUpdateData.fromJson(String source)
factory
BackgroundLocationUpdateData.fromMap(Map<String, dynamic> map)
factory

Properties

alt double
Altitude
final
course double
Direction in which the device is traveling, measured in degrees and relative to due north. Negative value if not available.
final
courseAccuracy double
The accuracy of the course value, measured in degrees. Negative value if not available.
final
hashCode int
The hash code for this object.
no setteroverride
horizontalAccuracy double
The radius of uncertainty for the location, measured in meters. Negative value if not available.
final
lat double
Latitude
final
lon double
Longitude
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double
Instantaneous speed of the device, measured in meters per second. Negative value if not available.
final
speedAccuracy double
The accuracy of the speed value, measured in meters per second. Negative value if not available.
final
verticalAccuracy double
The validity of the altitude values, and their estimated uncertainty, measured in meters. Negative value if not available.
final

Methods

copyWith({double? lat, double? lon, double? horizontalAccuracy, double? alt, double? verticalAccuracy, double? course, double? courseAccuracy, double? speed, double? speedAccuracy}) BackgroundLocationUpdateData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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