sendEventNow method

void sendEventNow(
  1. Event event,
  2. OnSendSuccessCallback success,
  3. OnSendFailedCallback failed
)

Implementation

void sendEventNow(
  Event event,
  OnSendSuccessCallback success,
  OnSendFailedCallback failed,
) {
  nativeCallbackGroup(
    AffiseApiMethod.SEND_EVENT_NOW,
    {
      DataName.SUCCESS: success,
      DataName.FAILED: failed,
    },
    converter.convert(event),
  );
}