SingleTripResponse class

Constructors

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 LocationModelResponse? endLocation, required String? endTime, required num? overallTripScore, required TripScoringStatus? tripScoringStatus, required TripExtraKeys? extraKeys, required ClientTripExtras? clientTripExtras, required String? vehicleType})
SingleTripResponse.fromJson(Map<String, dynamic> json)

Properties

appTripId String
getter/setter pair
clientTripExtras ClientTripExtras?
getter/setter pair
endLocation LocationModelResponse?
getter/setter pair
endTime String?
getter/setter pair
extraKeys TripExtraKeys?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isCoPassenger bool
getter/setter pair
overallTripScore num?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startLocation LocationModelResponse?
getter/setter pair
startTime String?
getter/setter pair
totalDistance num?
getter/setter pair
tripId int
getter/setter pair
tripScoringStatus TripScoringStatus?
getter/setter pair
tripStartMode String?
getter/setter pair
userId int
getter/setter pair
vehicleType String?
getter/setter pair

Methods

getTripDuration() int?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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