loadRewarded static method

Future loadRewarded(
  1. String placementId
)

Loads a Rewarded Video Ad.

Set rewardedListener to track loading and display events for the Rewarded Video Ad.

Ad is ready to be shown when adReady event is received. Give a reward to the user when adRewarded event is received.

Args: placementId (String): The placement ID of the interstitial ad.

Implementation

static Future<dynamic> loadRewarded(String placementId) async {
  await _channel
      .invokeMethod('loadRewardedVideo', {'placementId': placementId});
}