refreshUserData static method
Android only. Refreshes current user data, which includes:
paywalls, placements, subscriptions, non-renewing purchases, or promotionals.
To be notified about updates, listen for ApphudListener
's apphudSubscriptionsUpdated
and
apphudNonRenewingPurchasesUpdated
methods.
Do not call this method on app launch, as Apphud SDK does it automatically.
You can call this method, when the app reactivates from the background, if needed.
Implementation
static Future<void> refreshUserData() =>
_channel.invokeMethod('refreshUserData');