raisePaywall static method
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);
}