WingifyUserContext class

Identifies a user for feature-flag evaluation, tracking, and targeting.

Implemented types
Implementers

Constructors

WingifyUserContext({String? id, Map<String, dynamic>? customVariables, bool shouldUseDeviceIdAsUserId = false, String? bucketingSeed, List<String>? postSegmentationVariables, String? ipAddress})

Properties

bucketingSeed → String?
Bucketing key. When this is set, native ignores id for variation assignment. Null or empty falls back to id. A shared seed puts different users on the same variation.
final
customVariables → Map<String, dynamic>?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
ipAddress → String?
User IP for gateway user-details. Only used when a gateway was set at init, and only on iOS.
final
postSegmentationVariables → List<String>?
Names of entries in customVariables that are applied after the variation is chosen.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shouldUseDeviceIdAsUserId → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Converts the WingifyUserContext object into a Map.
override
toString() → String
A string representation of this object.
override

Operators

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