listWithState method
Implementation
Future<ListServicesResult> listWithState() async {
final response = await room.sendRequest("services.list", {});
if (response is! JsonContent) {
throw RoomServerException("Invalid return type from list services call");
}
return ListServicesResult.fromJson(response.json);
}