HackleMethodChannel class

An implementation of HacklePlatform that uses method channels.

Inheritance

Constructors

HackleMethodChannel()

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dismissDisplayedInAppMessageView() → Future<void>
override
featureFlagDetail(int featureKey) → Future<FeatureFlagDecision>
override
fetch() → Future<void>
override
getDeviceId() → Future<String>
override
getSessionId() → Future<String>
override
getUser() → Future<HackleUser>
override
hideUserExplorer() → Future<void>
override
initialize({required String sdkKey, required String sdkName, required String sdkVersion, HackleConfig? hackleConfig, HackleUser? user}) → Future<void>
override
invokeHackleBridge(String? jsonString) → Future<String>
override
invokeHackleBridgeAsync(String? jsonString) → Future<String>
override
isFeatureOn(int featureKey) → Future<bool>
override
isInvocableString(String? jsonString) → Future<bool>
override
isOptOutTracking() → Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remoteConfigGetBool(String key, bool defaultValue) → Future<bool>
override
remoteConfigGetDouble(String key, double defaultValue) → Future<double>
override
remoteConfigGetInt(String key, int defaultValue) → Future<int>
override
remoteConfigGetString(String key, String defaultValue) → Future<String>
override
resetUser() → Future<void>
override
setBackButtonDismissesInAppMessageView(bool isDismisses) → Future<void>
override
setCurrentScreen(Screen screen) → Future<void>
override
setDeviceId(String deviceId) → Future<void>
override
setOptOutTracking(bool optOut) → Future<void>
override
setPhoneNumber(String phoneNumber) → Future<void>
override
setUser(HackleUser user) → Future<void>
override
setUserId(String? userId) → Future<void>
override
setUserProperty(String key, Object value) → Future<void>
override
showUserExplorer() → Future<void>
override
toString() → String
A string representation of this object.
inherited
track(HackleEvent event) → Future<void>
override
unsetPhoneNumber() → Future<void>
override
updateKakaoSubscriptions(HackleSubscriptionOperations operations) → Future<void>
override
updatePushSubscriptions(HackleSubscriptionOperations operations) → Future<void>
override
updateSmsSubscriptions(HackleSubscriptionOperations operations) → Future<void>
override
updateUserProperties(PropertyOperations operations) → Future<void>
override
variation(int experimentKey) → Future<Variation>
override
variationDetail(int experimentKey) → Future<Decision>
override

Operators

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