initRewardAd static method

Future<void> initRewardAd(
  1. String unitId
)

Implementation

static Future<void> initRewardAd(String unitId) async {
  try {
    await _channel.invokeMethod<void>(
        'InitRewardAd', <String, dynamic>{'UnitId': unitId});
  } catch (e) {
    print(e.toString());
  }
}