getEVCarModels static method
Returns the list of available EV car models.
The returned list contains EVCarModel instances with vehicle specifications (battery capacity, range, efficiency, etc.) that can be used to configure EV routing profiles.
Returns
- A list of EVCarModel containing all available EV car models.
Implementation
static List<EVCarModel> getEVCarModels() {
final OperationResult resultString = staticMethod(
'RoutingService',
'getEVCarModels',
);
final EVCarModelList list = EVCarModelList.init(resultString['result']);
return list.toList();
}