setTargetingInfo method

Future<void> setTargetingInfo(
  1. Map<String, List<String>> info
)

Sets the targeting information for the given placement. Information provided for placement overrides targeting information for application set by the setTargetingInfo.

info: Map with targeting information.

Implementation

Future<void> setTargetingInfo(Map<String, List<String>> info) async {
  try {
    return AatkitFlutterPluginPlatform.instance
        .setTargetingInfoForAppOpenAd(name, info);
  } on PlatformException catch (e) {
    aatkitLog("PlatformException, error: $e");
  }
}