getBookingById function
GET /api/{api_version}/booking/{booking_id}
Implementation
Future<ApiResponse<BookingById>> getBookingById(
ExsitedClient client,
Object bookingId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(BookingsUrls.bookingById,
pathParams: {'booking_id': bookingId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: BookingById.fromMap);