Returns true if the app is running on an emulator or simulator.
true
@override Future<bool> isEmulator() async { final result = await methodChannel.invokeMethod<bool>('isEmulator'); return result ?? false; }