getProperties method
Get the MapType the service operates on and the robot's properties. These values do not change while the service is running.
// Example:
final properties = await myNavigationService.getProperties();
For more information, see the navigation service docs.
Implementation
Future<NavigationProperties> getProperties() async {
final request = GetPropertiesRequest(name: name);
final response = await client.getProperties(request, options: callOptions);
return response.properties;
}