getByTypeByPathTypes method
Gets all stop points of a given type
Implementation
Future<List<StopPoint>> getByTypeByPathTypes(
List<String> types,
) async {
final response = await _context.client.get(
Uri.https(
authority,
'/stoppoint/type/${types.join(',')}',
),
);
ClientException.checkIsSuccessStatusCode(response);
return StopPoint.listFromJson(json.decode(response.body));
}