listModelEvaluationSlices method
Future<ListModelEvaluationSlicesResponse>
listModelEvaluationSlices(
- ListModelEvaluationSlicesRequest request
override
Lists ModelEvaluationSlices in a ModelEvaluation.
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<ListModelEvaluationSlicesResponse> listModelEvaluationSlices(
ListModelEvaluationSlicesRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_listModelEvaluationSlices case final listModelEvaluationSlices?) {
return listModelEvaluationSlices(request);
}
throw UnsupportedError('listModelEvaluationSlices');
}