present method

  1. @override
Future<PaywallOutcome> present(
  1. String placement
)
override

Presents the paywall configured for placement and waits for it to close.

Implementations must not throw — return PaywallOutcome.error instead.

Implementation

@override
Future<PaywallOutcome> present(String placement) async {
  presented.add(placement);
  return outcome;
}