EVSearchCallback typedef

EVSearchCallback = void Function(EVSearchError? error, List<EVChargingLocation>? chargingLocations)

The method that will be called on the main thread when a search operation in EVSearchEngine has been completed.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

  • error The ev search error.

  • chargingLocations The ev charging locations.

Implementation

typedef EVSearchCallback = void Function(EVSearchError? error, List<EVChargingLocation>? chargingLocations);