LineService class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
arrivalsByPathIds(List<String> ids)
→ Future<List<Prediction>>
-
Get the list of arrival predictions for given line ids based at the given stop
-
arrivalsWithStopPointByPathIdsPathStopPointIdQueryDirectionQueryDestina(List<String> ids, String stopPointId, [String? direction, String? destinationStationId])
→ Future<List<Prediction>>
-
Get the list of arrival predictions for given line ids based at the given stop
-
disruptionByModeByPathModes(List<String> modes)
→ Future<List<Disruption>>
-
Get disruptions for all lines of the given modes.
-
disruptionByPathIds(List<String> ids)
→ Future<List<Disruption>>
-
Get disruptions for the given line ids
-
getByModeByPathModes(List<String> modes)
→ Future<List<Line>>
-
Gets lines that serve the given modes.
-
getByPathIds(List<String> ids)
→ Future<List<Line>>
-
Gets lines that match the specified line ids.
-
lineRoutesByIdsByPathIdsQueryServiceTypes(List<String> ids, [List<String>? serviceTypes])
→ Future<List<Line>>
-
Get all valid routes for given line ids, including the name and id of the originating and terminating stops for each route.
-
metaDisruptionCategories()
→ Future<List<String>>
-
Gets a list of valid disruption categories
-
metaModes()
→ Future<List<Mode>>
-
Gets a list of valid modes
-
metaServiceTypes()
→ Future<List<String>>
-
Gets a list of valid ServiceTypes to filter on
-
metaSeverity()
→ Future<List<StatusSeverity>>
-
Gets a list of valid severity codes
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
routeByModeByPathModesQueryServiceTypes(List<String> modes, [List<String>? serviceTypes])
→ Future<List<Line>>
-
Gets all lines and their valid routes for given modes, including the name and id of the originating and terminating stops for each route
-
routeByQueryServiceTypes([List<String>? serviceTypes])
→ Future<List<Line>>
-
Get all valid routes for all lines, including the name and id of the originating and terminating stops for each route.
-
routeSequenceByPathIdPathDirectionQueryServiceTypesQueryExcludeCrowding(String id, String direction, [List<String>? serviceTypes, bool? excludeCrowding])
→ Future<RouteSequence>
-
Gets all valid routes for given line id, including the sequence of stops on each route.
-
searchByPathQueryQueryModesQueryServiceTypes(String query, [List<String>? modes, List<String>? serviceTypes])
→ Future<RouteSearchResponse>
-
Search for lines or routes matching the query string
-
statusByIdsByPathIdsQueryDetail(List<String> ids, [bool? detail])
→ Future<List<Line>>
-
Gets the line status of for given line ids e.g Minor Delays
-
statusByModeByPathModesQueryDetailQuerySeverityLevel(List<String> modes, [bool? detail, String? severityLevel])
→ Future<List<Line>>
-
Gets the line status of for all lines for the given modes
-
statusByPathIdsPathStartDatePathEndDateQueryDetail(List<String> ids, DateTime startDate, DateTime endDate, [bool? detail])
→ Future<List<Line>>
-
Gets the line status for given line ids during the provided dates e.g Minor Delays
-
statusBySeverityByPathSeverity(int severity)
→ Future<List<Line>>
-
Gets the line status for all lines with a given severity A list of valid severity codes can be obtained from a call to Line/Meta/Severity
-
stopPointsByPathIdQueryTflOperatedNationalRailStationsOnly(String id, [bool? tflOperatedNationalRailStationsOnly])
→ Future<List<StopPoint>>
-
Gets a list of the stations that serve the given line id
-
timetableByPathFromStopPointIdPathId(String fromStopPointId, String id)
→ Future<TimetableResponse>
-
Gets the timetable for a specified station on the give line
-
timetableToByPathFromStopPointIdPathIdPathToStopPointId(String fromStopPointId, String id, String toStopPointId)
→ Future<TimetableResponse>
-
Gets the timetable for a specified station on the give line with specified destination
-
toString()
→ String
-
A string representation of this object.
inherited