PTTrip constructor

PTTrip({
  1. required PTRoute route,
  2. required PTAgency agency,
  3. required int tripIndex,
  4. required DateTime? tripDate,
  5. required bool hasRealtime,
  6. required DateTime? departureTime,
  7. bool? isCancelled,
  8. int? delayMinutes,
  9. required List<PTStopTime> stopTimes,
  10. required int stopIndex,
  11. required String stopPlatformCode,
  12. required bool isWheelchairAccessible,
  13. required bool isBikeAllowed,
})

Constructor for the PTTrip class.

Implementation

PTTrip({
  required this.route,
  required this.agency,
  required this.tripIndex,
  required this.tripDate,
  required this.hasRealtime,
  required this.departureTime,
  this.isCancelled,
  this.delayMinutes,
  required this.stopTimes,
  required this.stopIndex,
  required this.stopPlatformCode,
  required this.isWheelchairAccessible,
  required this.isBikeAllowed,
});