isIOSSimulator static method

Future<bool> isIOSSimulator()

Check if the app is running on iOS Simulator.

Should only be called when defaultTargetPlatform is TargetPlatform.iOS and kIsWeb is false.

Implementation

static Future<bool> isIOSSimulator() => _platform.isIOSSimulator();