getSpecialistPool method

  1. @override
Future<SpecialistPool> getSpecialistPool(
  1. GetSpecialistPoolRequest request
)
override

Gets a SpecialistPool.

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<SpecialistPool> getSpecialistPool(
  GetSpecialistPoolRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getSpecialistPool case final getSpecialistPool?) {
    return getSpecialistPool(request);
  }
  throw UnsupportedError('getSpecialistPool');
}