isSupportedPlatform method

  1. @override
bool isSupportedPlatform(
  1. TargetPlatform platform
)
override

Implementation

@override
bool isSupportedPlatform(TargetPlatform platform) {
  return platform == TargetPlatform.android ||
      platform == TargetPlatform.iOS ||
      platform == TargetPlatform.macOS ||
      kIsWeb;
}