list method
Implementation
Future<List<Queue>> list() async {
final response = await _invoke("list", {});
if (response is! JsonContent) {
throw _unexpectedResponseError("list");
}
return (response.json["queues"] as List).map((i) => Queue(name: i["name"], size: i["size"])).toList();
}