operations method
Work dispatched with async: what is running, and how the last few went.
Implementation
Future<List<Operation>> operations({
String? nodeId,
bool running = false,
}) async => _list(
await get(
_query('/operations', {
if (nodeId != null) 'node': [nodeId],
if (running) 'running': ['true'],
}),
),
Operation.fromJson,
);