getPaths method

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

Get an array of Paths representing the paths the service is aware of.

For more information, see the navigation service docs.

Implementation

Future<List<Path>> getPaths({Map<String, dynamic>? extra}) async {
  final request = GetPathsRequest(name: name, extra: extra?.toStruct());
  final response = await client.getPaths(request, options: callOptions);
  return response.paths;
}