PlatformWebMessageChannelCreationParamsProperty enum
List of PlatformWebMessageChannelCreationParams's properties that can be used to check i they are supported or not by the current platform.
Values
- id → const PlatformWebMessageChannelCreationParamsProperty
-
Can be used to check if the PlatformWebMessageChannelCreationParams.id property is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Linux WPE WebKit:
- Implemented via JavaScript MessageChannel API.
- Windows WebView2:
- Implemented via JavaScript MessageChannel API.
Use the PlatformWebMessageChannelCreationParams.isPropertySupported method to check if this property is supported at runtime.
- port1 → const PlatformWebMessageChannelCreationParamsProperty
-
Can be used to check if the PlatformWebMessageChannelCreationParams.port1 property is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Linux WPE WebKit:
- Implemented via JavaScript MessageChannel API.
- Windows WebView2:
- Implemented via JavaScript MessageChannel API.
Use the PlatformWebMessageChannelCreationParams.isPropertySupported method to check if this property is supported at runtime.
- port2 → const PlatformWebMessageChannelCreationParamsProperty
-
Can be used to check if the PlatformWebMessageChannelCreationParams.port2 property is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Linux WPE WebKit:
- Implemented via JavaScript MessageChannel API.
- Windows WebView2:
- Implemented via JavaScript MessageChannel API.
Use the PlatformWebMessageChannelCreationParams.isPropertySupported method to check if this property 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<
PlatformWebMessageChannelCreationParamsProperty> - A constant List of the values in this enum, in order of their declaration.