VWO class

The main class for interacting with the VWO Flutter SDK.

This class provides methods for initializing the SDK, getting feature flags, tracking events, and setting user attributes.

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

getFlag({required String flagName, required VWOContext vwoContext}) Future<GetFlag?>
Gets the value of a feature flag.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAttribute({required String attributeKey, required dynamic attributeValue, required VWOContext vwoContext}) Future<bool>?
Sets a user attribute.
toString() String
A string representation of this object.
inherited
trackEvent({required String eventName, required VWOContext vwoContext, Map<String, dynamic>? eventProperties}) Future<Map<String, bool>?>
Tracks an event.

Operators

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

Static Methods

init(VWOInitOptions options) Future<VWO?>
Initializes the VWO SDK.
logMessage(String message) → void