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