TransitDeparture constructor

TransitDeparture(
  1. RoutePlace place,
  2. DateTime? time,
  3. int? delay,
  4. TransitDepartureStatus? status,
)

Creates a new instance.

  • place The departure or arrival place.
  • time Expected departure or arrival time of the event.
  • delay The accumulated delay in seconds from the scheduled time of the event.
  • status Status of the departure.

Implementation

TransitDeparture(this.place, this.time, this.delay, this.status);