getAppLicense method
Gets the current app license and its add-on license collection.
The Windows API can return cached information while offline. Treat this result as a client-side convenience, not as a server-authoritative record.
Implementation
Future<StoreAppLicense> getAppLicense() {
_ensureWindows();
return WindowsIapPlatform.instance.getAppLicense();
}