ExperimentClient class
Constructors
- ExperimentClient({required String apiKey, ExperimentConfig? config})
- ExperimentClient constructor
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
-
all(
) → Map< String, ExperimentVariant> - Return all experiments and flags of this users
-
clear(
) → dynamic - Clear SDK storage
-
exposure(
String flagKey) → Future< void> -
Track exposure event - NECESSARY
exposureTrackerProvider -
fetch(
{String? userId, String? deviceId, Map< String, dynamic> ? userProperties}) → Future<void> - Fetch an experiment or feature flag by user info
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
variant(
String flagKey) → ExperimentVariant? - Get variant assigned by flagkey
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited