DirectionsTransitDetails class abstract
Additional information that is not relevant for other modes of transportation.
Properties:
- arrivalStop
- arrivalTime
- departureStop
- departureTime
- headsign - Specifies the direction in which to travel on this line, as it is marked on the vehicle or at the departure stop. This will often be the terminus station.
- headway - Specifies the expected number of seconds between departures from the same stop at this time. For example, with a
headway
value of 600, you would expect a ten minute wait if you should miss your bus. - line
- numStops - The number of stops from the departure to the arrival stop. This includes the arrival stop, but not the departure stop. For example, if your directions involve leaving from Stop A, passing through stops B and C, and arriving at stop D,
num_stops
will return 3. - tripShortName - The text that appears in schedules and sign boards to identify a transit trip to passengers. The text should uniquely identify a trip within a service day. For example, "538" is the
trip_short_name
of the Amtrak train that leaves San Jose, CA at 15:10 on weekdays to Sacramento, CA.
Constructors
- DirectionsTransitDetails([void updates(DirectionsTransitDetailsBuilder b)])
-
factory
Properties
- arrivalStop → DirectionsTransitStop?
-
no setter
- arrivalTime → TimeZoneTextValueObject?
-
no setter
- departureStop → DirectionsTransitStop?
-
no setter
- departureTime → TimeZoneTextValueObject?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headsign → String?
-
Specifies the direction in which to travel on this line, as it is marked on the vehicle or at the departure stop. This will often be the terminus station.
no setter
- headway → int?
-
Specifies the expected number of seconds between departures from the same stop at this time. For example, with a
headway
value of 600, you would expect a ten minute wait if you should miss your bus.no setter - line → DirectionsTransitLine?
-
no setter
- numStops → int?
-
The number of stops from the departure to the arrival stop. This includes the arrival stop, but not the departure stop. For example, if your directions involve leaving from Stop A, passing through stops B and C, and arriving at stop D,
num_stops
will return 3.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tripShortName → String?
-
The text that appears in schedules and sign boards to identify a transit trip to passengers. The text should uniquely identify a trip within a service day. For example, "538" is the
trip_short_name
of the Amtrak train that leaves San Jose, CA at 15:10 on weekdays to Sacramento, CA.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(DirectionsTransitDetailsBuilder)) → DirectionsTransitDetails -
Rebuilds the instance.
inherited
-
toBuilder(
) → DirectionsTransitDetailsBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
DirectionsTransitDetails> -
no setter