PlatformWebMessageListenerCreationParams constructor
const
PlatformWebMessageListenerCreationParams({
- required String jsObjectName,
- Set<
String> ? allowedOriginRules, - OnPostMessageCallback? onPostMessage,
Used by the platform implementation to create a new PlatformWebMessageListener.
Implementation
const PlatformWebMessageListenerCreationParams(
{required this.jsObjectName,
this.allowedOriginRules,
this.onPostMessage});