listFeatures method

  1. @override
Future<ListFeaturesResponse> listFeatures(
  1. ListFeaturesRequest request
)
override

Lists Features in a given FeatureGroup.

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<ListFeaturesResponse> listFeatures(ListFeaturesRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_listFeatures case final listFeatures?) {
    return listFeatures(request);
  }
  throw UnsupportedError('listFeatures');
}