initWithAppCode static method

Future<void> initWithAppCode(
  1. String appCode
)

Initializes the HUAWEI Ads SDK with app code.

Implementation

static Future<void> initWithAppCode(String appCode) async {
  Ads.instance.channel.invokeMethod(
    'HwAds-initWithAppCode',
  );
}