PredictionWidgetModel

An object that reflects the state of a Prediction widget on the server

  • The object that acts as the delegate for the PredictionWidgetModel

  • Locks in a vote for the Prediction. Call this when the user has made their final decision. Only one vote is allowed per user.

  • An impression is used to calculate user engagement on the Producer Site. Call this once when the widget is first displayed to the user.