init
Initializes the collector with the provided input data.
Extracts and sets the key, label, trigger, and required properties from the input JSON.
Return
This collector instance for method chaining
Parameters
input
The JSON object containing initialization parameters
Throws
if required fields are missing or invalid