build

open fun build(): JSONObject

Build the Event Payload and pass it to trackEvent Use Properties instead.

Return

populated EventPayload instance or null if nothing is set