EVSearchCallback typedef
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.
-
errorThe ev search error. -
chargingLocationsThe ev charging locations.
Implementation
typedef EVSearchCallback = void Function(EVSearchError? error, List<EVChargingLocation>? chargingLocations);