getFeaturestore method

  1. @override
Future<Featurestore> getFeaturestore(
  1. GetFeaturestoreRequest request
)
override

Gets details of a single Featurestore.

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<Featurestore> getFeaturestore(GetFeaturestoreRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getFeaturestore case final getFeaturestore?) {
    return getFeaturestore(request);
  }
  throw UnsupportedError('getFeaturestore');
}