The unique identifier of the poll option.
The title of the poll option.
Serializes the instance into a plain JavaScript object.
This method is automatically invoked when the instance is passed to JSON.stringify()
.
In Node.js, it's also used when the instance is logged via console.log()
(via the util.inspect
mechanism).
Represents an option in a Donation Alerts poll event.
Remarks
This class provides structured access to the properties of a single poll option and helps identify important metrics, such as the total value and its relative percentage.