locationFromAddress function
Returns a list of Location instances found for the supplied address.
In most situations the returned list should only contain one entry. However in some situations where the supplied address could not be resolved into a single Location, multiple Location instances may be returned.
Optionally you can specify a locale in which the results are returned.
When not supplied the currently active locale of the device will be used.
The localeIdentifier
should be formatted using the syntax:
languageCode
_countryCode
(eg. en_US or nl_NL).
Implementation
Future<List<Location>> locationFromAddress(
String address, {
String? localeIdentifier,
}) =>
GeocodingPlatform.instance!.locationFromAddress(
address,
);