get method
Implementation
get({required String id}) async {
final response = await http.get(
ZermeloUtil.createApiURL(this.school, "schools/$id", this.accessToken));
if (response.statusCode == 200) {
return School.fromJson(json.decode(response.body));
} else {
throw Exception('Failed to load school');
}
}