getIsibookPoints method
Implementation
Future<IsibookPointsResponse?> getIsibookPoints() async {
final intent = HttpIntent("isibook/spaces/points", {});
final req = await HttpRequest().httpRequest(
intent, context: context, "Carico punti...",
method: HttpMethod.get, dialog: dialog);
_logIsibookCall("getIsibookPoints", intent, req);
if (!elaborateResponse(req)) {
return null;
}
try {
return IsibookPointsResponse.fromJson(
Map<String, dynamic>.from(req.response));
} catch (e, stack) {
_logIsibookException("getIsibookPoints", e, stack);
return null;
}
}