getIndexEndpoint method
Gets an IndexEndpoint.
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<IndexEndpoint> getIndexEndpoint(
GetIndexEndpointRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_getIndexEndpoint case final getIndexEndpoint?) {
return getIndexEndpoint(request);
}
throw UnsupportedError('getIndexEndpoint');
}