listModelEvaluationSlices method

  1. @override
Future<ListModelEvaluationSlicesResponse> listModelEvaluationSlices(
  1. 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');
}