listCustomJobs method

  1. @override
Future<ListCustomJobsResponse> listCustomJobs(
  1. ListCustomJobsRequest request
)
override

Lists CustomJobs in a 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<ListCustomJobsResponse> listCustomJobs(
  ListCustomJobsRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_listCustomJobs case final listCustomJobs?) {
    return listCustomJobs(request);
  }
  throw UnsupportedError('listCustomJobs');
}