Prediction constructor

Prediction({
  1. String? id,
  2. int? operationType,
  3. String? vehicleId,
  4. String? naptanId,
  5. String? stationName,
  6. String? lineId,
  7. String? lineName,
  8. String? platformName,
  9. String? direction,
  10. String? bearing,
  11. String? visitNumber,
  12. String? tripId,
  13. String? vehicleCdId,
  14. String? destinationNaptanId,
  15. String? destinationName,
  16. DateTime? timestamp,
  17. int? timeToStation,
  18. String? currentLocation,
  19. String? towards,
  20. DateTime? expectedArrival,
  21. DateTime? timeToLive,
  22. String? modeName,
  23. DateTime? serverTimestamp,
  24. PredictionTiming? timing,
})

Implementation

Prediction({
  this.id,
  this.operationType,
  this.vehicleId,
  this.naptanId,
  this.stationName,
  this.lineId,
  this.lineName,
  this.platformName,
  this.direction,
  this.bearing,
  this.visitNumber,
  this.tripId,
  this.vehicleCdId,
  this.destinationNaptanId,
  this.destinationName,
  this.timestamp,
  this.timeToStation,
  this.currentLocation,
  this.towards,
  this.expectedArrival,
  this.timeToLive,
  this.modeName,
  this.serverTimestamp,
  this.timing,
});