Builder

constructor(@NonNull @Size(min = 1, max = 255) eventName: String)

Creates a new custom event builder

The event name must be between 1 and 255 characters or the event will be invalid.

Parameters

eventName

The name of the event.

Throws

if the event name is null, empty, or exceeds 255 characters.