TripSummary class

Constructors

TripSummary({required String tripId, required DateTime startedAt, required DateTime endedAt, required double distanceMeters, required int durationSeconds, required int idleSeconds, required double maxSpeedKph, required double averageSpeedKph})
const
TripSummary.fromMap(JsonMap map)
factory

Properties

averageSpeedKph double
final
distanceMeters double
final
durationSeconds int
final
endedAt DateTime
final
hashCode int
The hash code for this object.
no setterinherited
idleSeconds int
final
maxSpeedKph double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedAt DateTime
final
tripId String
final

Methods

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

Operators

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