getCacheModel method

  1. @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')])
Future<CacheModel?> getCacheModel()

Returns the current cache model for this WebContext.

Officially Supported Platforms/Implementations:

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',
  );
}