LogMetrics class Sensor Data Source

Object which provides metrics about a log

Constructors

LogMetrics({required double distanceMeters, required double elevationGainMeters, required double avgSpeedMps})
LogMetrics.fromJson(Map<String, dynamic> json)
factory

Properties

avgSpeedMps double
The average speed in meters per second
final
distanceMeters double
The total distance traveled in meters
final
elevationGainMeters double
The total elevation gain in meters
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(covariant LogMetrics other) bool
The equality operator.
override