isMethodSupported static method

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

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

Implementation

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