initAd method

  1. @override
Future<bool> initAd(
  1. String appId,
  2. String appKey, {
  3. bool useTest = false,
})
override

Implementation

@override
Future<bool> initAd(
  String appId,
  String appKey, {
  bool useTest = false,
}) async {
  return await methodChannel.invokeMethod<bool>('initAd', {
        'appId': appId,
        'appKey': appKey,
        'useTest': useTest,
      }) ??
      false;
}