VWO class
Constructors
- VWO()
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
-
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
Static Methods
-
closeVWOStream(
) → dynamic - Close the current VWO Stream
-
getBooleanForKey(
String variableKey, bool defaultValue) → Future< bool?> -
Returns the Boolean value for the
variableKey
. -
getDoubleForKey(
String variableKey, double defaultValue) → Future< double?> -
Returns the double value for the
variableKey
. -
getIntegerForKey(
String variableKey, int defaultValue) → Future< int?> -
Returns the integer value for the
variableKey
. -
getObjectForKey(
String variableKey, dynamic defaultValue) → Future -
Returns the integer/String/double/Boolean value for the
variableKey
. -
getStringForKey(
String variableKey, String defaultValue) → Future< String?> -
Returns the String value for the
variableKey
. -
getVariationNameForTestKey(
String testKey) → Future< String?> -
Returns the variation assigned to the user for the
testKey
passed. -
launch(
String apiKey, {VWOConfig? vwoConfig}) → Future< String?> - Launch VWO SDK. Other APIs should only be used once the VWO SDK is launched.
-
openVWOStream(
) → dynamic - open a new VWO Stream
-
pushCustomDimension(
String customDimensionKey, String customDimensionValue) → Future< void> -
Push the custom dimension to VWO servers.
customDimensionKey
is the key for custom dimensioncustomDimensionValue
is the value for custom dimension -
setCustomVariable(
String key, String value) → Future< void> -
Push the customVariable on VWO instance.
key
is the key for customVariablevalue
is the value for customVariable -
setLogLevel(
VWOLog vwoLog) → void - Set the log level for the VWO.
-
trackConversion(
String goalIdentifier, {double? revenueValue}) → Future< void> - Tracks the conversion of the user for any particular campaign.
-
vwoFlutterMethodCallHandler(
MethodCall methodCall) → Future - Channel to listen events from android/iOS native