listFeatureViews method

  1. @override
Future<ListFeatureViewsResponse> listFeatureViews(
  1. ListFeatureViewsRequest request
)
override

Lists FeatureViews in a given FeatureOnlineStore.

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<ListFeatureViewsResponse> listFeatureViews(
  ListFeatureViewsRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_listFeatureViews case final listFeatureViews?) {
    return listFeatureViews(request);
  }
  throw UnsupportedError('listFeatureViews');
}