PlaceService class

Constructors

PlaceService({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

getAtByPathTypePathLatPathLon(String type, double lat, double lon) Future<List<Place>>
Gets any places of the given type whose geography intersects the given latitude and longitude. In practice this means the Place must be polygonal e.g. a BoroughBoundary.
getByGeoPointByQueryLatQueryLonQueryRadiusQueryCategoriesQueryIncludeC(double lat, double lon, [double? radius, List<String>? categories, bool? includeChildren, List<String>? type, bool? activeOnly, int? numberOfPlacesToReturn]) Future<PlacesResponse>
Gets the places that lie within a geographic region. The geographic region of interest can either be specified by using a lat/lon geo-point and a radius in metres to return places within the locus defined by the lat/lon of its centre or alternatively, by the use of a bounding box defined by the lat/lon of its north-west and south-east corners. Optionally filters on type and can strip properties for a smaller payload.
getByPathIdQueryIncludeChildren(String id, [bool? includeChildren]) Future<Place>
Gets the place with the given id.
getByTypeByPathTypesQueryActiveOnly(List<String> types, [bool? activeOnly]) Future<List<Place>>
Gets all places of a given type
metaCategories() Future<List<PlaceCategory>>
Gets a list of all of the available place property categories and keys.
metaPlaceTypes() Future<List<String>>
Gets a list of the available types of Place.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchByQueryNameQueryTypes(String name, [List<String>? types]) Future<List<Place>>
Gets all places that matches the given query
toString() String
A string representation of this object.
inherited

Operators

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