getContent method
Implementation
Future<Content?> getContent() async {
var _response = await getContentResponse();
if (_response.statusCode == 200) {
return Content.fromJson(jsonDecode(_response.body));
} else {
print(_response.body);
}
}