@override Future<bool?> isSimulator() async { final version = await methodChannel.invokeMethod<bool>('isSimulator'); return version; }