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