Prediction constructor
Prediction({
- String? id,
- int? operationType,
- String? vehicleId,
- String? naptanId,
- String? stationName,
- String? lineId,
- String? lineName,
- String? platformName,
- String? direction,
- String? bearing,
- String? visitNumber,
- String? tripId,
- String? vehicleCdId,
- String? destinationNaptanId,
- String? destinationName,
- DateTime? timestamp,
- int? timeToStation,
- String? currentLocation,
- String? towards,
- DateTime? expectedArrival,
- DateTime? timeToLive,
- String? modeName,
- DateTime? serverTimestamp,
- 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,
});