listScenarios method
Implementation
Future<List<ContentId>> listScenarios() async {
final resp = await get('/scenario');
if (resp.statusCode == HttpStatus.ok) {
return ListScenariosResponse.fromJson(json.decode(resp.body)).scenarios;
}
return Future.error(HttpResponseError(resp.statusCode, resp.body));
}