MethodChannelVwoFmeFlutterSdk class
An implementation of VwoFmeFlutterSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- VwoFmeFlutterSdkPlatform
- MethodChannelVwoFmeFlutterSdk
Constructors
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.
override
-
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.
override
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
init(
VWOInitOptions options) → Future< MethodChannelVwoFmeFlutterSdk?> - Initializes the VWO SDK.
Constants
- methodChannel → const MethodChannel
- The method channel used to interact with the native platform.