isMethodSupported static method

bool isMethodSupported(
  1. PlatformWebStorageMethod method, {
  2. TargetPlatform? platform,
})

Check if the given method is supported by the defaultTargetPlatform or a specific platform.

Implementation

static bool isMethodSupported(
  PlatformWebStorageMethod method, {
  TargetPlatform? platform,
}) =>
    PlatformWebStorage.static().isMethodSupported(method, platform: platform);