TripState class

Constructors

TripState({required String tripId, required DateTime createdAt, required DateTime? startedAt, required Location? startLocation, required Location? lastLocation, required double distanceMeters, required int idleSeconds, required double maxSpeedKph, required bool started, required bool ended})
const
TripState.fromMap(JsonMap map)
factory

Properties

createdAt DateTime
final
distanceMeters double
final
ended bool
final
hashCode int
The hash code for this object.
no setterinherited
idleSeconds int
final
lastLocation Location?
final
maxSpeedKph double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
started bool
final
startedAt DateTime?
final
startLocation Location?
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.
override
toSummary(DateTime endedAt) TripSummary?

Operators

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