PTStopInfo class
This class represents public transport stop information. It contains lists of agencies, stops, and trips. It provides methods to filter trips by route short name, route type, and agency.
Constructors
- PTStopInfo()
- PTStopInfo.fromParameters(SearchableParameterList paramList)
-
factory
Properties
-
agencies
→ List<
PTAgency> -
The list of public transport agencies for the stop.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stops
→ List<
PTStop> -
The list of public transport stops for the stop.
no setter
-
trips
→ List<
PTTrip> -
The list of public transport trips for the stop.
This is a list of PTTrip objects.
It contains all trips associated with the stop.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tripsByAgency(
PTAgency agency) → List< PTTrip> - Filters the trips by agency. Returns a list of trips that match the specified agency.
-
tripsByRouteShortName(
String routeShortName) → List< PTTrip> - Filters the trips by route short name. Returns a list of trips that match the specified route short name.
-
tripsByRouteType(
PTRouteType routeType) → List< PTTrip> - Filters the trips by route type. Returns a list of trips that match the specified route type.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited