sendInAppClick method

Future<void> sendInAppClick(
  1. InAppType inAppType,
  2. int campaignId
)

Sends click associated with inapp campaign. This method is mainly used to send native ad clicks. Formats startview, banner, adball send click automatically campaignId The campaign identifier

Implementation

Future<void> sendInAppClick(InAppType inAppType, int campaignId) async {
  String type = inAppType.toString().split(".")[1];
  return await _channel.invokeMethod(
      'sendInAppClick', {"type": type, "campaignId": campaignId});
}