TripDetails constructor
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,
Implementation
TripDetails({
this.id,
this.name,
this.description,
this.tripState,
this.totalDistance,
this.totalDuration,
this.totalElevationGain,
this.metadata,
this.startLocation,
this.endLocation,
this.user,
this.startedAt,
this.endedAt,
this.createdAt,
this.updatedAt,
this.isLocal,
this.hasMore,
required this.stops,
required this.events,
required this.route,
this.routeIndex});