showSceneNativeAdWithCustomExt method

Future<String> showSceneNativeAdWithCustomExt({
  1. required String placementID,
  2. required String sceneID,
  3. required String showCustomExt,
  4. required Map extraMap,
  5. bool isAdaptiveHeight = false,
  6. Map<String, Object?>? atCustomContentResult,
})

Implementation

Future<String> showSceneNativeAdWithCustomExt({
  required String placementID,
  required String sceneID,
  required String showCustomExt,
  required Map extraMap,
  bool isAdaptiveHeight = false,
  Map<String, Object?>? atCustomContentResult,
}) async {
  return await AnythinkSdk.channel
      .invokeMethod("showSceneNativeAdWithCustomExt", {
    "placementID": placementID,
    "sceneID": sceneID,
    "extraDic": extraMap,
    "isAdaptiveHeight": isAdaptiveHeight,
    "showCustomExt": showCustomExt,
    if (atCustomContentResult != null)
      "atCustomContentResult": atCustomContentResult,
  });
}