listFeatureMonitors method

  1. @override
Future<ListFeatureMonitorsResponse> listFeatureMonitors(
  1. ListFeatureMonitorsRequest request
)
override

Lists FeatureGroups in a given project and location.

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<ListFeatureMonitorsResponse> listFeatureMonitors(
  ListFeatureMonitorsRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_listFeatureMonitors case final listFeatureMonitors?) {
    return listFeatureMonitors(request);
  }
  throw UnsupportedError('listFeatureMonitors');
}