PollingScore class

Constructors

PollingScore.new({required String visitorId, String? anonymousId, EmotionAiDelegate? delegate})
Create the polling score object, schedule stop timer, and start polling.

Properties

anonymousId String?
final
delegate EmotionAiDelegate?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visitorId String
Values
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startPolling() → void
Initiate repeated polling of the server to fetch the score.
stopPollingScore() → void
Called when the stop timer fires (after 10 seconds), indicating no score was found.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited