LocationData class

Location data model

Constructors

LocationData({required double latitude, required double longitude, required double accuracy, required double altitude, required double speed, required double bearing, required DateTime timestamp, bool isBackground = false, String? provider})
LocationData.fromMap(Map<String, dynamic> map)
factory

Properties

accuracy double
final
altitude double
final
bearing double
final
hashCode int
The hash code for this object.
no setterinherited
isBackground bool
final
latitude double
final
longitude double
final
provider String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double
final
timestamp DateTime
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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