getFeatureMonitorJob method

  1. @override
Future<FeatureMonitorJob> getFeatureMonitorJob(
  1. GetFeatureMonitorJobRequest request
)
override

Get a feature monitor job.

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<FeatureMonitorJob> getFeatureMonitorJob(
  GetFeatureMonitorJobRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getFeatureMonitorJob case final getFeatureMonitorJob?) {
    return getFeatureMonitorJob(request);
  }
  throw UnsupportedError('getFeatureMonitorJob');
}