raisePaywall static method

Future<bool> raisePaywall({
  1. String? developerPaywallId,
})

Displays the current live paywall in the app. Optionally pass developerPaywallId to display a particular paywall instead of live one

Implementation

static Future<bool> raisePaywall({String? developerPaywallId}) {
  return channel
      .invokeMethod<bool>("raisePaywall", developerPaywallId)
      .then<bool>((bool? value) => value ?? false);
}