TransitDeparture class

This struct holds the transit departure or arrival information.

Constructors

TransitDeparture(RoutePlace place, DateTime? time, int? delay, TransitDepartureStatus? status)
Creates a new instance.

Properties

delay ↔ int?
The accumulated delay in seconds from the scheduled time of the event.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
place RoutePlace
The departure or arrival place.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status TransitDepartureStatus?
Status of the departure.
getter/setter pair
time ↔ DateTime?
Expected departure or arrival time of the event.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.