resume method

Future<NavigationStatus> resume({
  1. Map<String, dynamic>? extra,
})

Resume the suspended goal the same way it was started: planned navigation, simple go-to, or a route from its current waypoint.

// Example:
final status = await myNavigationService.resume();

For more information, see the navigation service docs.

Implementation

Future<NavigationStatus> resume({Map<String, dynamic>? extra}) async {
  final request = ResumeRequest(name: name, extra: extra?.toStruct());
  final response = await client.resume(request, options: callOptions);
  return response.status;
}