PulseEligibilityContext class

Full eligibility context — mirrors server EligibilityContext.

Constructors

PulseEligibilityContext({required String surveyId, required String respondentExternalId, String? pageUrl, String? screenName, Map<String, int>? recentEvents, Map<String, Object?>? userProperties, Map<String, bool>? cohorts, Map<String, Object?>? flagValues, Map<String, int>? priorResponseCount, int? sessionNumber})
const

Properties

cohorts Map<String, bool>?
final
flagValues Map<String, Object?>?
final
hashCode int
The hash code for this object.
no setterinherited
pageUrl String?
final
priorResponseCount Map<String, int>?
final
recentEvents Map<String, int>?
final
respondentExternalId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenName String?
Native screen / route name. Sourced from SankofaNavigatorObserver so the most-recently-pushed route's name flows here. Empty before any navigation event fires — KindScreen rules will not match until the SDK has observed at least one screen.
final
sessionNumber int?
1-based count of distinct sessions this respondent has started on this device. 0 means "unknown" (pre-init) and never matches a session rule. Sourced from SankofaSessionManager.sessionCount.
final
surveyId String
final
userProperties Map<String, Object?>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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