SpeedTrap constructor

const SpeedTrap({
  1. required int vehicleIdx,
  2. required double speed,
  3. required int overallFastestInSession,
  4. required int driverFastestInSession,
  5. required int fastestVehicleIdxInSession,
  6. required double fastestSpeedInSession,
})

Implementation

const SpeedTrap({
  required this.vehicleIdx,
  required this.speed,
  required this.overallFastestInSession,
  required this.driverFastestInSession,
  required this.fastestVehicleIdxInSession,
  required this.fastestSpeedInSession,
});