geocode method

Future<List<GeocodeResult>> geocode({
  1. required String searchText,
  2. GeocodeParameters? parameters,
})

Geocodes address with parameters and returns candidates.

Executes a geocoding operation to find location candidates for a given address.

Parameters:

  • searchText — Address inputs.
  • parameters — Geocode method parameters.

Return Value: A Future returning a List of GeocodeResult