resize method
Resizes the reservation (applicable to standalone reservations only). For more information, readModifying reservations.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a ServiceException if the API method failed for
any reason.
Implementation
@override
Future<Operation> resize(ResizeReservationRequest request) async {
if (isClosed) throw StateError('Service is closed');
if (_resize case final resize?) {
return resize(request);
}
throw UnsupportedError('resize');
}