isClassSupported static method

bool isClassSupported({
  1. TargetPlatform? platform,
})

Check if the current class is supported by the defaultTargetPlatform or a specific platform.

Implementation

static bool isClassSupported({TargetPlatform? platform}) =>
    PlatformInAppLocalhostServer.static().isClassSupported(
      platform: platform,
    );