showRewardVideo static method

Future<void> showRewardVideo(
  1. AppLovinListener listener
)

Implementation

static Future<void> showRewardVideo(AppLovinListener listener) async {
  try {
    _channel.setMethodCallHandler(
        (MethodCall call) async => handleMethod(call, listener));
    await _channel.invokeMethod<void>('ShowRewardVideo');
  } catch (e) {
    print(e.toString());
  }
}