ChargingStation class - routing library - Dart API
ChargingStation
ChargingStation class
Data for an electric vehicle charging station.
Constructors
- ChargingStation(String? id, String? name, ChargingConnectorAttributes? connectorAttributes)
- Creates a new instance.
-
ChargingStation.withDetails(String? id, String? name, ChargingConnectorAttributes? connectorAttributes, NameID? brand, NameID? chargePointOperator, List<
NameID> matchingEMobilityServiceProviders) - Creates a new instance.
Properties
- brand ↔ NameID?
-
Charging station brand.
NameID.name reflect to charging station brand name.
NameID.id reflect to charging station brand unique ID.
getter/setter pair
- chargePointOperator ↔ NameID?
-
Charging station charge-point-operator.
NameID.name reflect to charge-point-operator name.
NameID.id reflect to charge-point-operator ID.
getter/setter pair
- connectorAttributes ↔ ChargingConnectorAttributes?
-
Details of the connector suggested to be used.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- id ↔ String?
-
Identifier of this charging station. It can only be null when custom charging
stations from non-HERE datasets have been injected on the HERE platform.
By default, with HERE datasets it is guranteed to be not null.
getter/setter pair
-
matchingEMobilityServiceProviders
↔ List<
NameID> -
List of matched E-Mobility Service Providers.
Populated only when EVCarOptions.evMobilityServiceProviderPreferences was set.
This list reflects the subset of E-Mobility Service Providers supported by the charging station,
from the list specified in the request parameter EVCarOptions.evMobilityServiceProviderPreferences.
NameID.name in each list item reflect to E-Mobility Service Provider name.
NameID.id in each list item reflect to E-Mobility Service Provider id.
getter/setter pair
- name ↔ String?
-
Human readable name of this charging station. It can be null when there is no
name associated with the station.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.