I'm porting a Xamarin.Android project to .Net 6.
Because of dependencies, it's not possible to include Xamarin.Essentials in the .Net 6 project.
So I'm switching everything to use the Microsoft.* namespaces. This was easy enough, except for Xamarin.Essentials.Platform.CurrentActivity.
Is there a .Net MAUI equivalent of this class? If not, any other good options other than copying/pasting the code from Essentials into the app?