checkIsibookReservation method
Implementation
Future<IsibookReserveCheckResponse?> checkIsibookReservation(
Map<String, dynamic> data) async {
final intent = HttpIntent("isibook/spaces/reserve/check", data);
final req = await HttpRequest().httpRequest(
intent, context: context, "Verifico prenotazione...",
method: HttpMethod.post, dialog: dialog);
_logIsibookCall("checkIsibookReservation", intent, req);
if (!elaborateResponse(req)) {
return null;
}
try {
return IsibookReserveCheckResponse.fromJson(
Map<String, dynamic>.from(req.response));
} catch (e, stack) {
_logIsibookException("checkIsibookReservation", e, stack);
return null;
}
}