HackleMethodChannel class
An implementation of HacklePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- HacklePlatform
- HackleMethodChannel
Constructors
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
-
featureFlagDetail(
int featureKey, {HackleUser? user}) → Future< FeatureFlagDecision> -
override
-
fetch(
) → Future< void> -
override
-
getDeviceId(
) → Future< String> -
override
-
getUser(
) → Future< HackleUser> -
override
-
initialize(
{required String sdkKey, required String sdkName, required String sdkVersion, HackleConfig? hackleConfig, HackleUser? user}) → Future< void> -
override
-
isFeatureOn(
int featureKey, {HackleUser? user}) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remoteConfigGetBool(
String key, bool defaultValue, {HackleUser? user}) → Future< bool> -
override
-
remoteConfigGetDouble(
String key, double defaultValue, {HackleUser? user}) → Future< double> -
override
-
remoteConfigGetInt(
String key, int defaultValue, {HackleUser? user}) → Future< int> -
override
-
remoteConfigGetString(
String key, String defaultValue, {HackleUser? user}) → Future< String> -
override
-
resetUser(
) → Future< void> -
override
-
setDeviceId(
String deviceId) → 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, {HackleUser? user}) → Future< void> -
override
-
updateUserProperties(
PropertyOperations operations) → Future< void> -
override
-
variation(
int experimentKey, {HackleUser? user}) → Future< Variation> -
override
-
variationDetail(
int experimentKey, {HackleUser? user}) → Future< Decision> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited