reportFaulty method
Allows customers to report a faulty subBlock.
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> reportFaulty(
ReportFaultyReservationSubBlockRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_reportFaulty case final reportFaulty?) {
return reportFaulty(request);
}
throw UnsupportedError('reportFaulty');
}