KameleoonClient class

Constructors

KameleoonClient(String siteCode)

Properties

callbacks List<KameleoonClientCallback>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ready bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siteCode String?
getter/setter pair

Methods

activateFeature(String visitorCode, dynamic featureKeyOrID) Future<bool?>
addData(String visitorCode, Data data) Future<void>
callbackAfterStatusChange(bool? isReady, [KameleoonClientCallback? callback]) → void
flush([String? visitorCode]) → void
isReady() bool?
nativeMethodCallHandler(MethodCall call) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
obtainFeatureVariable(dynamic featureKeyOrID, String variableKey) Future<Object?>
obtainVariationAssociatedData(int variationID) Future
obtainVisitorCode([String? defaultVisitorCode]) Future<String?>
runWhenReady(Function readyCallback, Function failCallback, [int timeout = 2000]) → void
toString() String
A string representation of this object.
inherited
trackConversion(String visitorCode, int goalID, [Float? revenue]) Future<void>
triggerExperiment(String visitorCode, int experimentID) Future<int?>

Operators

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