isPropertySupported static method

bool isPropertySupported(
  1. PlatformHeadlessInAppWebViewCreationParamsProperty property, {
  2. TargetPlatform? platform,
})

Check if the given property is supported by the defaultTargetPlatform or a specific platform. The property should be one of the PlatformWebViewCreationParamsProperty or PlatformHeadlessInAppWebViewCreationParamsProperty values.

Implementation

static bool isPropertySupported(
  PlatformHeadlessInAppWebViewCreationParamsProperty property, {
  TargetPlatform? platform,
}) => PlatformHeadlessInAppWebView.static().isPropertySupported(
  property,
  platform: platform,
);