isPropertySupported method
- dynamic property, {
- TargetPlatform? platform,
Check if the given property is supported by the defaultTargetPlatform or a specific platform.
The property should be one of the PlatformWebNotificationControllerProperty or PlatformWebNotificationControllerCreationParamsProperty values.
Implementation
bool isPropertySupported(dynamic property, {TargetPlatform? platform}) =>
property is PlatformWebNotificationControllerCreationParamsProperty
? params.isPropertySupported(property, platform: platform)
: _PlatformWebNotificationControllerPropertySupported.isPropertySupported(
property,
platform: platform,
);