WindowsWebViewControllerCreationParams.fromPlatformWebViewControllerCreationParams constructor

WindowsWebViewControllerCreationParams.fromPlatformWebViewControllerCreationParams(
  1. PlatformWebViewControllerCreationParams params
)

Creates a WindowsPlatformWebViewControllerCreationParams instance based on PlatformWebViewControllerCreationParams.

Implementation

factory WindowsWebViewControllerCreationParams.fromPlatformWebViewControllerCreationParams(
  // Recommended placeholder to prevent being broken by platform interface.
  // ignore: avoid_unused_constructor_parameters
  PlatformWebViewControllerCreationParams params,
) {
  return params as WindowsWebViewControllerCreationParams;
}