StopPointService class

Constructors

StopPointService({required TflApiClientContext context})
const

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

arrivalDeparturesByPathIdQueryLineIds(String id, List<String> lineIds) Future<List<ArrivalDeparture>>
Gets the list of arrival and departure predictions for the given stop point id (overground and tfl rail only)
arrivalsByPathId(String id) Future<List<Prediction>>
Gets the list of arrival predictions for the given stop point id
crowdingByPathIdPathLineQueryDirection(String id, String line, String direction) Future<StopPoint>
Gets all the Crowding data (static) for the StopPointId, plus crowding data for a given line and optionally a particular direction.
directionByPathIdPathToStopPointIdQueryLineId(String id, String toStopPointId, [String? lineId]) Future<String>
Returns the canonical direction, "inbound" or "outbound", for a given pair of stop point Ids in the direction from -> to.
disruptionByModeByPathModesQueryIncludeRouteBlockedStops(List<String> modes, [bool? includeRouteBlockedStops]) Future<List<DisruptedPoint>>
Gets a distinct list of disrupted stop points for the given modes
disruptionByPathIdsQueryGetFamilyQueryIncludeRouteBlockedStopsQuer(List<String> ids, [bool? getFamily, bool? includeRouteBlockedStops, bool? flattenResponse]) Future<List<DisruptedPoint>>
Gets all disruptions for the specified StopPointId, plus disruptions for any child Naptan records it may have.
getByGeoPointByQueryLatQueryLonQueryStopTypesQueryRadiusQueryUseSt(List<String> stopTypes, double lat, double lon, [int? radius, bool? useStopPointHierarchy, List<String>? modes, List<String>? categories, bool? returnLines]) Future<StopPointsResponse>
Gets a list of StopPoints within {radius} by the specified criteria
getByModeByPathModesQueryPage(List<String> modes, [int? page]) Future<StopPointsResponse>
Gets a list of StopPoints filtered by the modes available at that StopPoint.
getByPathIdQueryPlaceTypes(String id, List<String> placeTypes) Future<List<Place>>
Get a list of places corresponding to a given id and place types.
getByPathIdsQueryIncludeCrowdingData(List<String> ids, [bool? includeCrowdingData]) Future<List<StopPoint>>
Gets a list of StopPoints corresponding to the given list of stop ids.
getBySmsByPathIdQueryOutput(String id, [String? output]) Future<StopPoint>
Gets a StopPoint for a given sms code.
getByTypeByPathTypes(List<String> types) Future<List<StopPoint>>
Gets all stop points of a given type
getByTypeWithPaginationByPathTypesPathPage(List<String> types, int page) Future<List<StopPoint>>
Gets all the stop points of given type(s) with a page number
getCarParksByIdByPathStopPointId(String stopPointId) Future<List<Place>>
Get car parks corresponding to the given stop point id.
getServiceTypesByQueryIdQueryLineIdsQueryModes(String id, [List<String>? lineIds, List<String>? modes]) Future<List<LineServiceType>>
Gets the service types for a given stoppoint
getTaxiRanksByIdsByPathStopPointId(String stopPointId) Future<List<Place>>
Gets a list of taxi ranks corresponding to the given stop point id.
metaCategories() Future<List<StopPointCategory>>
Gets the list of available StopPoint additional information categories
metaModes() Future<List<Mode>>
Gets the list of available StopPoint modes
metaStopTypes() Future<List<String>>
Gets the list of available StopPoint types
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reachableFromByPathIdPathLineIdQueryServiceTypes(String id, String lineId, [List<String>? serviceTypes]) Future<List<StopPoint>>
Gets Stopoints that are reachable from a station/line combination.
routeByPathIdQueryServiceTypes(String id, [List<String>? serviceTypes]) Future<List<StopPointRouteSection>>
Returns the route sections for all the lines that service the given stop point ids
searchByPathQueryQueryModesQueryFaresOnlyQueryMaxResultsQueryLines(String query, [List<String>? modes, bool? faresOnly, int? maxResults, List<String>? lines, bool? includeHubs, bool? tflOperatedNationalRailStationsOnly]) Future<SearchResponse>
Search StopPoints by their common name, or their 5-digit Countdown Bus Stop Code.
searchByQueryQueryQueryModesQueryFaresOnlyQueryMaxResultsQueryLine(String query, [List<String>? modes, bool? faresOnly, int? maxResults, List<String>? lines, bool? includeHubs, bool? tflOperatedNationalRailStationsOnly]) Future<SearchResponse>
Search StopPoints by their common name, or their 5-digit Countdown Bus Stop Code.
toString() String
A string representation of this object.
inherited

Operators

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