TripDetails constructor

TripDetails({
  1. String? id,
  2. String? name,
  3. String? description,
  4. String? tripState,
  5. dynamic totalDistance,
  6. dynamic totalDuration,
  7. dynamic totalElevationGain,
  8. Map? metadata,
  9. StartLocation? startLocation,
  10. EndLocation? endLocation,
  11. User? user,
  12. String? startedAt,
  13. String? endedAt,
  14. String? createdAt,
  15. String? updatedAt,
  16. bool? isLocal,
  17. bool? hasMore,
  18. required List<Stop?> stops,
  19. required List<Events?> events,
  20. required List<Routes?> route,
  21. 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});