fetchFeatureValues method

  1. @override
Future<FetchFeatureValuesResponse> fetchFeatureValues(
  1. FetchFeatureValuesRequest request
)
override

Fetch feature values under a FeatureView.

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<FetchFeatureValuesResponse> fetchFeatureValues(
  FetchFeatureValuesRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_fetchFeatureValues case final fetchFeatureValues?) {
    return fetchFeatureValues(request);
  }
  throw UnsupportedError('fetchFeatureValues');
}