getCacheModel method
- @SupportedPlatforms.new(platforms: [LinuxPlatform(apiName: 'webkit_web_context_get_cache_model', apiUrl: 'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/method.WebContext.get_cache_model.html')])
Returns the current cache model for this WebContext.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit (Official API - webkit_web_context_get_cache_model)
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
LinuxPlatform(
apiName: 'webkit_web_context_get_cache_model',
apiUrl:
'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/method.WebContext.get_cache_model.html',
),
],
)
Future<CacheModel?> getCacheModel() {
throw UnimplementedError(
'getCacheModel is not implemented on the current platform',
);
}