TrackingStats class

Tracking statistics

Constructors

TrackingStats({int totalLocations = 0, int foregroundLocations = 0, int backgroundLocations = 0, DateTime? firstLocationTime, DateTime? lastLocationTime, double totalDistance = 0.0, double averageSpeed = 0.0})
TrackingStats.fromMap(Map<String, dynamic> map)
factory

Properties

averageSpeed double
final
backgroundLocations int
final
firstLocationTime DateTime?
final
foregroundLocations int
final
hashCode int
The hash code for this object.
no setterinherited
lastLocationTime DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalDistance double
final
totalLocations int
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.
inherited

Operators

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