SingleTripResponse constructor
SingleTripResponse({
- int tripId = 0,
- required String appTripId,
- required int userId,
- bool isCoPassenger = false,
- required String? tripStartMode,
- required LocationModelResponse? startLocation,
- required String? startTime,
- required num? totalDistance,
- required double? tripDuration,
- required LocationModelResponse? endLocation,
- required String? endTime,
- required num? overallTripScore,
- required TripScoringStatus? tripScoringStatus,
- required TripExtraKeys? extraKeys,
- required ClientTripExtras? clientTripExtras,
- required String? vehicleType,
- 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,
});