readHotels method
Future<(UResponse<List<UHotelResponse> > ?, UEmptyResponse?, String?)>
readHotels({
- required UHotelReadParams p,
- dynamic onOk()?,
- dynamic onError()?,
- dynamic onException(
- String e
Implementation
Future<(UResponse<List<UHotelResponse>>?, UEmptyResponse?, String?)> readHotels({
required UHotelReadParams p,
Function(UResponse<List<UHotelResponse>> r)? onOk,
Function(UEmptyResponse e)? onError,
Function(String e)? onException,
}) => _Api.call("/Hotel/Hotel/Read", p.toMap(), _Api.list(UHotelResponse.fromMap), _Api.empty, onOk, onError, onException);