TripDetails class

Constructors

TripDetails({String? id, String? name, String? description, String? tripState, dynamic totalDistance, dynamic totalDuration, dynamic totalElevationGain, Map? metadata, StartLocation? startLocation, EndLocation? endLocation, User? user, String? startedAt, String? endedAt, String? createdAt, String? updatedAt, bool? isLocal, bool? hasMore, required List<Stop?> stops, required List<Events?> events, required List<Routes?> route, Map? routeIndex})

Properties

createdAt String?
getter/setter pair
description String?
getter/setter pair
endedAt String?
getter/setter pair
endLocation EndLocation?
getter/setter pair
events List<Events?>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasMore bool?
getter/setter pair
id String?
getter/setter pair
isLocal bool?
getter/setter pair
metadata Map?
getter/setter pair
name String?
getter/setter pair
route List<Routes?>
getter/setter pair
routeIndex Map?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedAt String?
getter/setter pair
startLocation StartLocation?
getter/setter pair
stops List<Stop?>
getter/setter pair
totalDistance ↔ dynamic
getter/setter pair
totalDuration ↔ dynamic
getter/setter pair
totalElevationGain ↔ dynamic
getter/setter pair
tripState String?
getter/setter pair
updatedAt String?
getter/setter pair
user User?
getter/setter pair

Methods

getEventsMapList(List<Events?> events) List<Map>
getRouteList(List<Routes?> routesList) List<Map>
getStopList(List<Stop?> stops) List<Map>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

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