PlatformSessionStorageMethod enum
List of PlatformSessionStorage's methods that can be used to check if they are supported or not by the current platform.
Values
- clear → const PlatformSessionStorageMethod
-
Can be used to check if the PlatformSessionStorage.clear method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe> but requires same origin
- Windows WebView2
- Linux WPE WebKit
Use the PlatformSessionStorage.isMethodSupported method to check if this method is supported at runtime.
- dispose → const PlatformSessionStorageMethod
-
Can be used to check if the PlatformSessionStorage.dispose method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe> but requires same origin
- Windows WebView2
- Linux WPE WebKit
Use the PlatformSessionStorage.isMethodSupported method to check if this method is supported at runtime.
- getItem → const PlatformSessionStorageMethod
-
Can be used to check if the PlatformSessionStorage.getItem method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe> but requires same origin
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
- key: all platforms
Use the PlatformSessionStorage.isMethodSupported method to check if this method is supported at runtime.
- getItems → const PlatformSessionStorageMethod
-
Can be used to check if the PlatformSessionStorage.getItems method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe> but requires same origin
- Windows WebView2
- Linux WPE WebKit
Use the PlatformSessionStorage.isMethodSupported method to check if this method is supported at runtime.
- key → const PlatformSessionStorageMethod
-
Can be used to check if the PlatformSessionStorage.key method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe> but requires same origin
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
- index: all platforms
Use the PlatformSessionStorage.isMethodSupported method to check if this method is supported at runtime.
- length → const PlatformSessionStorageMethod
-
Can be used to check if the PlatformSessionStorage.length method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe> but requires same origin
- Windows WebView2
- Linux WPE WebKit
Use the PlatformSessionStorage.isMethodSupported method to check if this method is supported at runtime.
- removeItem → const PlatformSessionStorageMethod
-
Can be used to check if the PlatformSessionStorage.removeItem method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe> but requires same origin
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
- key: all platforms
Use the PlatformSessionStorage.isMethodSupported method to check if this method is supported at runtime.
- setItem → const PlatformSessionStorageMethod
-
Can be used to check if the PlatformSessionStorage.setItem method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe> but requires same origin
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
- key: all platforms
value: all platforms
Use the PlatformSessionStorage.isMethodSupported method to check if this method is supported at runtime.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PlatformSessionStorageMethod> - A constant List of the values in this enum, in order of their declaration.