showPaywall static method
Future<void>
showPaywall({
- required String remoteConfig,
- bool awaitLoading = true,
- PaywallListener? listener,
Implementation
static Future<void> showPaywall(
{required String remoteConfig,
bool awaitLoading = true,
PaywallListener? listener}) async {
_listener = listener;
if (!didSetupEventsChannel) {
setupEventsChannel();
}
Glassfy.showPaywall(remoteConfig, awaitLoading);
}