getCachedContent method
Reads CachedContent resource.
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<CachedContent> getCachedContent(
GetCachedContentRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_getCachedContent case final getCachedContent?) {
return getCachedContent(request);
}
throw UnsupportedError('getCachedContent');
}