HacklePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • HacklePlatform
Implementers

Constructors

HacklePlatform()
Constructs a HackleFlutterPlatform.

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

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

Operators

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

Static Properties

instance HacklePlatform
The default instance of HacklePlatform to use.
getter/setter pair