deleteRoute method
Delete a route. The locations it references are not affected.
// Example:
await myNavigationService.deleteRoute('patrol');
For more information, see the navigation service docs.
Implementation
Future<void> deleteRoute(String routeName, {Map<String, dynamic>? extra}) async {
final request = DeleteRouteRequest(name: name, routeName: routeName, extra: extra?.toStruct());
await client.deleteRoute(request, options: callOptions);
}