Provides the current user context for flag evaluation.
Implement this interface and pass it to ExperimentConfig.userProvider to automatically supply user context for all SDK operations. The SDK merges the provider's user with any explicitly provided user, with explicit values taking precedence.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getUser(
) → ExperimentUser - Returns the current user context.
-
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