isPropertySupported method
- dynamic property, {
- TargetPlatform? platform,
override
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
@override
bool isPropertySupported(dynamic property, {TargetPlatform? platform}) =>
property is PlatformWebViewCreationParamsProperty
? super.isPropertySupported(property, platform: platform)
: _PlatformHeadlessInAppWebViewCreationParamsPropertySupported.isPropertySupported(
property,
platform: platform,
);