PTStopTime class
This class represents a public transport stop time. It contains the stop name, coordinates, a flag indicating if real-time information is available, a delay, an optional departure time, and a stop details value.
Constructors
- PTStopTime({required String stopName, required Coordinates coordinates, required bool hasRealtime, required int delay, required DateTime? departureTime, required int stopDetails, required bool isBefore})
- Constructor for the PTStopTime class.
Properties
- coordinates ↔ Coordinates
-
The coordinates of the stop.
getter/setter pair
- delay ↔ int
-
The delay in seconds.
getter/setter pair
- departureTime ↔ DateTime?
-
An optional departure time.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRealtime ↔ bool
-
A flag indicating if real-time information is available.
getter/setter pair
- isBefore ↔ bool
-
Indicates whether the stop is before or after the current time.
getter/setter pair
- isWheelchairFriendly → bool
-
Indicates whether the stop has wheelchair support.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stopName ↔ String
-
The name of the stop.
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.
inherited