getNasJob method

  1. @override
Future<NasJob> getNasJob(
  1. GetNasJobRequest request
)
override

Gets a NasJob

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<NasJob> getNasJob(GetNasJobRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getNasJob case final getNasJob?) {
    return getNasJob(request);
  }
  throw UnsupportedError('getNasJob');
}