SESSION_STORAGE property

WebViewDataType SESSION_STORAGE
final

Session Storage data.

Officially Supported Platforms/Implementations:

  • iOS WKWebView 26.0+
  • macOS WKWebView 26.0+

Implementation

static final SESSION_STORAGE = WebViewDataType._internalMultiPlatform(1, () {
  switch (defaultTargetPlatform) {
    case TargetPlatform.iOS:
      return 1;
    case TargetPlatform.macOS:
      return 1;
    default:
      break;
  }
  return null;
});