Future<String> getSpace() async { final response = await _client.get(spaceUrl(space), headers: headers); if (response.isValid) { return response.body; } throw response; }