loadFeedAd static method

Future<List<String>> loadFeedAd(
  1. GromoreFeedConfig config
)

加载信息流广告

Implementation

static Future<List<String>> loadFeedAd(GromoreFeedConfig config) async {
  assert(isInit);

  try {
    List result =
        await _methodChannel.invokeMethod("loadFeedAd", config.toJson());
    return List<String>.from(result);
  } catch (err) {
    debugPrint(err.toString());
    return [];
  }
}