enum AdImpressionEvent {
  onAdImpression,
}

typedef void AdImpressionCallback(AdImpressionEvent event, Map<dynamic, dynamic> arguments);

class AdImpressionListener {
  static const Map<String, AdImpressionEvent> methodToImpressionAdEvent = <String, AdImpressionEvent>{
    'onAdImpression': AdImpressionEvent.onAdImpression,
  };

  static late AdImpressionCallback callback;

  static void addCallback(AdImpressionCallback callback) {
    AdImpressionListener.callback = callback;
  }
}
