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, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
errorThe ev search error. -
chargingLocationsThe ev charging locations.
Implementation
typedef EVSearchCallback = void Function(EVSearchError? error, List<EVChargingLocation>? chargingLocations);