getFeatureView method

  1. @override
Future<FeatureView> getFeatureView(
  1. GetFeatureViewRequest request
)
override

Gets details of a single 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<FeatureView> getFeatureView(GetFeatureViewRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getFeatureView case final getFeatureView?) {
    return getFeatureView(request);
  }
  throw UnsupportedError('getFeatureView');
}