Exposure class
Describes a user's exposure to a feature flag variant.
Passed to ExposureTrackingProvider.track when automatic or manual exposure tracking is triggered.
Constructors
Properties
- experimentKey → String?
-
The experiment key associated with this exposure, if applicable.
final
- flagKey → String
-
The key of the flag the user was exposed to.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
metadata
→ Map<
String, Object?> ? -
Additional metadata associated with this exposure event.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → int?
-
The timestamp of the exposure in milliseconds since epoch, if available.
final
- variant → String?
-
The variant value the user was assigned, if any.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override