getWaypoints method

Future<List<Waypoint>> getWaypoints({
  1. Map<String, dynamic>? extra,
})

Get an array of Waypoints currently in the service's data storage.

For more information, see the navigation service docs.

Implementation

Future<List<Waypoint>> getWaypoints({Map<String, dynamic>? extra}) async {
  final request = GetWaypointsRequest(name: name, extra: extra?.toStruct());
  final response = await client.getWaypoints(request, options: callOptions);
  return response.waypoints;
}