SingleTripResponse constructor

SingleTripResponse({
  1. int tripId = 0,
  2. required String appTripId,
  3. required int userId,
  4. bool isCoPassenger = false,
  5. required String? tripStartMode,
  6. required LocationModelResponse? startLocation,
  7. required String? startTime,
  8. required num? totalDistance,
  9. required double? tripDuration,
  10. required LocationModelResponse? endLocation,
  11. required String? endTime,
  12. required num? overallTripScore,
  13. required TripScoringStatus? tripScoringStatus,
  14. required TripExtraKeys? extraKeys,
  15. required ClientTripExtras? clientTripExtras,
  16. required String? vehicleType,
  17. required Map<String, dynamic>? extraTripScores,
})

Implementation

SingleTripResponse({
  this.tripId = 0,
  required this.appTripId,
  required this.userId,
  this.isCoPassenger = false,
  required this.tripStartMode,
  required this.startLocation,
  required this.startTime,
  required this.totalDistance,
  required this.tripDuration,
  required this.endLocation,
  required this.endTime,
  required this.overallTripScore,
  required this.tripScoringStatus,
  required this.extraKeys,
  required this.clientTripExtras,
  required this.vehicleType,
  required this.extraTripScores,
});