OccupancyService class
Constructors
- OccupancyService({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
-
get(
) → Future< List< CarParkOccupancy> > - Gets the occupancy for all car parks that have occupancy data
-
getAllChargeConnectorStatus(
) → Future< List< ChargeConnectorOccupancy> > - Gets the occupancy for all charge connectors
-
getBikePointsOccupanciesByPathIds(
List< String> ids) → Future<List< BikePointOccupancy> > - Get the occupancy for bike points.
-
getByPathId(
String id) → Future< CarParkOccupancy> - Gets the occupancy for a car park with a given id
-
getChargeConnectorStatusByPathIds(
List< String> ids) → Future<List< ChargeConnectorOccupancy> > - Gets the occupancy for a charge connectors with a given id (sourceSystemPlaceId)
-
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