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