isIOSSimulator static method
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();