removeWaypoint method

Future<void> removeWaypoint(
  1. String id, {
  2. Map<String, dynamic>? extra,
})

Remove a Waypoint from the service's data storage by its id.

For more information, see the navigation service docs.

Implementation

Future<void> removeWaypoint(String id, {Map<String, dynamic>? extra}) async {
  final request = RemoveWaypointRequest(name: name, id: id, extra: extra?.toStruct());
  await client.removeWaypoint(request, options: callOptions);
}