listLocations method
Get every Location saved on the active map.
// Example:
final locations = await myNavigationService.listLocations();
For more information, see the navigation service docs.
Implementation
Future<List<Location>> listLocations({Map<String, dynamic>? extra}) async {
final request = ListLocationsRequest(name: name, extra: extra?.toStruct());
final response = await client.listLocations(request, options: callOptions);
return response.locations;
}