showPaywall static method

Future<void> showPaywall({
  1. required String remoteConfig,
  2. bool awaitLoading = true,
  3. 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);
}